summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-02-09 18:23:46 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-02-09 18:23:46 (GMT)
commit041d55331963754ad8c4298ff0584c28eb732223 (patch)
tree0c524275c1262878d1bdbbfdba309b1873a560f8 /Doc/library
parentceaa8b1d7557cf1550c16f8ae11ee9b118ef9a93 (diff)
downloadcpython-041d55331963754ad8c4298ff0584c28eb732223.zip
cpython-041d55331963754ad8c4298ff0584c28eb732223.tar.gz
cpython-041d55331963754ad8c4298ff0584c28eb732223.tar.bz2
#17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/_dummy_thread.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/_dummy_thread.rst b/Doc/library/_dummy_thread.rst
index 83aec12..ebce74d 100644
--- a/Doc/library/_dummy_thread.rst
+++ b/Doc/library/_dummy_thread.rst
@@ -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