From: Victor Stinner Date: Thu, 20 Feb 2014 00:44:10 +0000 (+0100) Subject: asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG X-Git-Tag: v3.4.0rc2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1415e25e055232e655e1643967fef1f1eee423f5;p=thirdparty%2FPython%2Fcpython.git asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG env var), document the default debug mode --- diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index c5f0d1a3e6f1..9d6f054a7ce3 100644 --- a/Doc/library/asyncio-dev.rst +++ b/Doc/library/asyncio-dev.rst @@ -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(): diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 04b182b9c0c3..92c4978f4344 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -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)