summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-09 13:44:48 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-09 13:44:48 +0300
commit38714d64d0125dea543dcb63e3152d2f0836e558 (patch)
tree2c41b69231ee83d1ca2cc987e29c39cc998af5dc
parent570bc4c465a2fb765b91f7c19072098b287c5c53 (diff)
parenta256841b4bd923c5ac149a97318cde23c1086e39 (diff)
downloadcpython-git-38714d64d0125dea543dcb63e3152d2f0836e558.tar.gz
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 b578324873..30a3ebba67 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