summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-09 10:44:16 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-09 10:44:16 (GMT)
commita256841b4bd923c5ac149a97318cde23c1086e39 (patch)
tree9b63b389a33362b46e6c855741996eae90ce4d1f /Doc
parent1ed9847a5ae9758aada921222788c95c1aa78958 (diff)
downloadcpython-a256841b4bd923c5ac149a97318cde23c1086e39.zip
cpython-a256841b4bd923c5ac149a97318cde23c1086e39.tar.gz
cpython-a256841b4bd923c5ac149a97318cde23c1086e39.tar.bz2
Issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
Diffstat (limited to 'Doc')
-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