summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-22 22:12:14 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-22 22:12:14 (GMT)
commit7b7120e159e2cb951b01773a164426c9e0bffa2d (patch)
tree39eaab2c2bdc14b365b734a17baf2ddb1f414627 /Doc
parentd6de5d8455ac0d120d9c49d04f350433a86ec4e6 (diff)
downloadcpython-7b7120e159e2cb951b01773a164426c9e0bffa2d.zip
cpython-7b7120e159e2cb951b01773a164426c9e0bffa2d.tar.gz
cpython-7b7120e159e2cb951b01773a164426c9e0bffa2d.tar.bz2
asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
environment variable is set
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-eventloop.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 57b2051..db89a2a 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -585,7 +585,11 @@ Debug mode
.. method:: BaseEventLoop.get_debug()
- Get the debug mode (:class:`bool`) of the event loop, ``False`` by default.
+ Get the debug mode (:class:`bool`) of the event loop.
+
+ The default value is ``True`` if the environment variable
+ :envvar:`PYTHONASYNCIODEBUG` is set to a non-empty string, ``False``
+ otherwise.
.. versionadded:: 3.4.2