summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/asyncio-dev.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
index e65be06..47448ee 100644
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -47,8 +47,8 @@ with the traceback where the coroutine function was called. See the
:ref:`asyncio logger <asyncio-logger>`.
The debug flag changes the behaviour of the :func:`coroutine` decorator. The
-debug flag value is only when then coroutine function is defined, not when it
-is called. Coroutine functions defined before the debug flag is set to
+debug flag value is only used when then coroutine function is defined, not when
+it is called. Coroutine functions defined before the debug flag is set to
``True`` will not be tracked. For example, it is not possible to debug
coroutines defined in the :mod:`asyncio` module, because the module must be
imported before the flag value can be changed.