Kaydet (Commit) 1415e25e authored tarafından Victor Stinner's avatar Victor Stinner

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

env var), document the default debug mode
üst a50fd872
......@@ -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():
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment