[Python-checkins] cpython: asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
victor.stinner
python-checkins at python.org
Thu Feb 20 01:45:26 CET 2014
http://hg.python.org/cpython/rev/549f451aa4c3
changeset: 89290:549f451aa4c3
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Feb 20 01:44:10 2014 +0100
summary:
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
env var), document the default debug mode
files:
Doc/library/asyncio-dev.rst | 1 -
Doc/library/asyncio-eventloop.rst | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -98,7 +98,6 @@
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
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -558,7 +558,7 @@
.. 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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list