]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-133515: fix docs for unawaited coroutines in debug mode (GH-134081) (#134093)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 16 May 2025 15:37:01 +0000 (17:37 +0200)
committerGitHub <noreply@github.com>
Fri, 16 May 2025 15:37:01 +0000 (15:37 +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 44b507a981111671a7b9067000a9049f579af32d..7831b613bd4a605c733f12c5f892fec3b51b900a 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.