asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 20 Feb 2014 00:44:10 +0000 (01:44 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 20 Feb 2014 00:44:10 +0000 (01:44 +0100)
env var), document the default debug mode

Doc/library/asyncio-dev.rst
Doc/library/asyncio-eventloop.rst

index c5f0d1a3e6f15475317d9a636069b47da1aed777..9d6f054a7ce393c85ab5f4815deddb5669b21db4 100644 (file)
@@ -98,7 +98,6 @@ imported before the flag value can be changed.
 Example with the bug::
 
     import asyncio
-    asyncio.tasks._DEBUG = True
 
     @asyncio.coroutine
     def test():
index 04b182b9c0c31557d0ce9414d927561e62933b17..92c4978f43447372016046ee36bf30b01f073643 100644 (file)
@@ -558,7 +558,7 @@ Debug mode
 
 .. method:: BaseEventLoop.get_debug()
 
-   Get the debug mode (:class:`bool`) of the event loop.
+   Get the debug mode (:class:`bool`) of the event loop, ``False`` by default.
 
 .. method:: BaseEventLoop.set_debug(enabled: bool)