asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG

env var), document the default debug mode
This commit is contained in:
Victor Stinner 2014-02-20 01:44:10 +01:00
parent a50fd87237
commit 1415e25e05
2 changed files with 1 additions and 2 deletions

View 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():

View 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)