mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Merge: #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
This commit is contained in:
commit
f4b54adc70
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue