summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-20 00:44:10 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-02-20 00:44:10 (GMT)
commit1415e25e055232e655e1643967fef1f1eee423f5 (patch)
tree6ba1dfef37fc27e62a1b9d75eadf09df6c41e9c9
parenta50fd87237da1fe14f6f35cc0d0e492442924035 (diff)
downloadcpython-1415e25e055232e655e1643967fef1f1eee423f5.zip
cpython-1415e25e055232e655e1643967fef1f1eee423f5.tar.gz
cpython-1415e25e055232e655e1643967fef1f1eee423f5.tar.bz2
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
env var), document the default debug mode
-rw-r--r--Doc/library/asyncio-dev.rst1
-rw-r--r--Doc/library/asyncio-eventloop.rst2
2 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
index c5f0d1a..9d6f054 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 04b182b..92c4978 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)