summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-02-09 18:24:44 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-02-09 18:24:44 (GMT)
commitf4b54adc706c6b0eb5d0d4bda5cdcf43ef28171b (patch)
tree832dd72a3a00f96b5d750a8993c91cd31293a978
parent6cb1d67eb3bd235e1d49eeb602f15f3d40a5e228 (diff)
parent041d55331963754ad8c4298ff0584c28eb732223 (diff)
downloadcpython-f4b54adc706c6b0eb5d0d4bda5cdcf43ef28171b.zip
cpython-f4b54adc706c6b0eb5d0d4bda5cdcf43ef28171b.tar.gz
cpython-f4b54adc706c6b0eb5d0d4bda5cdcf43ef28171b.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