[Python-checkins] cpython (merge 3.2 -> 3.3): Merge issue #16174: Fix suggested usage of dummy_threading module.

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


http://hg.python.org/cpython/rev/f02974773a71
changeset:   79617:f02974773a71
branch:      3.3
parent:      79612:a24d3e2124b6
parent:      79616:7de9c620716e
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Tue Oct 09 13:44:48 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