mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
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
2 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue