asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
env var), document the default debug mode
This commit is contained in:
parent
a50fd87237
commit
1415e25e05
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue