summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-09 10:44:48 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-09 10:44:48 (GMT)
commit38714d64d0125dea543dcb63e3152d2f0836e558 (patch)
tree2c41b69231ee83d1ca2cc987e29c39cc998af5dc
parent570bc4c465a2fb765b91f7c19072098b287c5c53 (diff)
parenta256841b4bd923c5ac149a97318cde23c1086e39 (diff)
downloadcpython-38714d64d0125dea543dcb63e3152d2f0836e558.zip
cpython-38714d64d0125dea543dcb63e3152d2f0836e558.tar.gz
cpython-38714d64d0125dea543dcb63e3152d2f0836e558.tar.bz2
Merge issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
-rw-r--r--Doc/library/dummy_threading.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dummy_threading.rst b/Doc/library/dummy_threading.rst
index b578324..30a3ebb 100644
--- a/Doc/library/dummy_threading.rst
+++ b/Doc/library/dummy_threading.rst
@@ -17,7 +17,7 @@ Suggested usage is::
try:
import threading
except ImportError:
- import dummy_threading
+ import dummy_threading as threading
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