Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1415e25

Browse files
committed
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
env var), document the default debug mode
1 parent a50fd87 commit 1415e25

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/library/asyncio-dev.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ imported before the flag value can be changed.
9898
Example with the bug::
9999

100100
import asyncio
101-
asyncio.tasks._DEBUG = True
102101

103102
@asyncio.coroutine
104103
def test():

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ Debug mode
558558

559559
.. method:: BaseEventLoop.get_debug()
560560

561-
Get the debug mode (:class:`bool`) of the event loop.
561+
Get the debug mode (:class:`bool`) of the event loop, ``False`` by default.
562562

563563
.. method:: BaseEventLoop.set_debug(enabled: bool)
564564

0 commit comments

Comments
 (0)