mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
#17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
This commit is contained in:
parent
ceaa8b1d75
commit
041d553319
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Suggested usage is::
|
|||
try:
|
||||
import _thread
|
||||
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
|
||||
created that blocks waiting for another thread to be created. This often occurs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue