[Python-checkins] cpython (merge 3.3 -> default): Merge issue #16174: Fix suggested usage of dummy_threading module.
andrew.svetlov
python-checkins at python.org
Tue Oct 9 12:45:24 CEST 2012
http://hg.python.org/cpython/rev/a93efd445982
changeset: 79618:a93efd445982
parent: 79615:ce0d0d052494
parent: 79617:f02974773a71
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Tue Oct 09 13:45:10 2012 +0300
summary:
Merge issue #16174: Fix suggested usage of dummy_threading module.
Patch by Berker Peksag.
files:
Doc/library/dummy_threading.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/dummy_threading.rst b/Doc/library/dummy_threading.rst
--- a/Doc/library/dummy_threading.rst
+++ b/Doc/library/dummy_threading.rst
@@ -17,7 +17,7 @@
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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list