Merge: #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
This commit is contained in:
commit
31c3cd2fb8
|
@ -17,7 +17,7 @@ Suggested usage is::
|
||||||
try:
|
try:
|
||||||
import _thread
|
import _thread
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import dummy_thread as _thread
|
import _dummy_thread as _thread
|
||||||
|
|
||||||
Be careful to not use this module where deadlock might occur from a thread being
|
Be careful to not use this module where deadlock might occur from a thread being
|
||||||
created that blocks waiting for another thread to be created. This often occurs
|
created that blocks waiting for another thread to be created. This often occurs
|
||||||
|
|
Loading…
Reference in New Issue