[Python-checkins] cpython (3.2): Issue #16174: Fix suggested usage of dummy_threading module.

andrew.svetlov python-checkins at python.org
Tue Oct 9 12:45:21 CEST 2012


http://hg.python.org/cpython/rev/7de9c620716e
changeset:   79616:7de9c620716e
branch:      3.2
parent:      79611:a6f37d503878
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Tue Oct 09 13:44:16 2012 +0300
summary:
  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