]> granicus.if.org Git - python/commitdiff
#17166: fix _dummy_thread import example.
authorR David Murray <rdmurray@bitdance.com>
Sat, 9 Feb 2013 18:23:46 +0000 (13:23 -0500)
committerR David Murray <rdmurray@bitdance.com>
Sat, 9 Feb 2013 18:23:46 +0000 (13:23 -0500)
Report and patch by Berker Peksag.

Doc/library/_dummy_thread.rst

index 83aec12bbbae7202f2bb4b21840752dcd69b9b3f..ebce74d5a2252f77b6c3f758919c177561acf5c3 100644 (file)
@@ -17,7 +17,7 @@ Suggested usage is::
    try:
        import _thread
    except ImportError:
-       import dummy_thread as _thread
+       import _dummy_thread as _thread
 
 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