]> granicus.if.org Git - python/commitdiff
Issue #16174: Fix suggested usage of dummy_threading module.
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 9 Oct 2012 10:44:16 +0000 (13:44 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 9 Oct 2012 10:44:16 +0000 (13:44 +0300)
Patch by Berker Peksag.

Doc/library/dummy_threading.rst

index b57832487368b533e65c54c566aeb189816bb2dd..30a3ebba6743c57c8ba538157be2409884311bce 100644 (file)
@@ -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