]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (#134094)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 16 May 2025 15:38:22 +0000 (17:38 +0200)
committerGitHub <noreply@github.com>
Fri, 16 May 2025 15:38:22 +0000 (15:38 +0000)
gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081)
(cherry picked from commit d94b1e9cac82143048031530e6c51e59f597bccd)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Doc/library/asyncio-dev.rst

index a9c3a0183bb72d2be560ee2dff720cf36d022588..3b43dc7c7ba1a17f88e26a2f3034d4a889a6eba6 100644 (file)
@@ -46,10 +46,6 @@ In addition to enabling the debug mode, consider also:
 
 When the debug mode is enabled:
 
-* asyncio checks for :ref:`coroutines that were not awaited
-  <asyncio-coroutine-not-scheduled>` and logs them; this mitigates
-  the "forgotten await" pitfall.
-
 * Many non-threadsafe asyncio APIs (such as :meth:`loop.call_soon` and
   :meth:`loop.call_at` methods) raise an exception if they are called
   from a wrong thread.