summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-02-09 18:25:12 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-02-09 18:25:12 (GMT)
commit31c3cd2fb8aa7d587f1c1317052f48f45de97094 (patch)
tree455387d3da915408102fa218a46728ea40ca9d5f
parentc9b4e60683975adf897c262c0d9d337db2f30449 (diff)
parentf4b54adc706c6b0eb5d0d4bda5cdcf43ef28171b (diff)
downloadcpython-31c3cd2fb8aa7d587f1c1317052f48f45de97094.zip
cpython-31c3cd2fb8aa7d587f1c1317052f48f45de97094.tar.gz
cpython-31c3cd2fb8aa7d587f1c1317052f48f45de97094.tar.bz2
Merge: #17166: fix _dummy_thread import example.
Report and patch by Berker Peksag.
-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