From: Kumar Aditya Date: Fri, 16 May 2025 15:31:15 +0000 (+0530) Subject: gh-133515: fix docs for unawaited coroutines in debug mode (#134081) X-Git-Tag: v3.15.0a1~1703 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d94b1e9cac82143048031530e6c51e59f597bccd;p=thirdparty%2FPython%2Fcpython.git gh-133515: fix docs for unawaited coroutines in debug mode (#134081) --- diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst index 44b507a98111..7831b613bd4a 100644 --- a/Doc/library/asyncio-dev.rst +++ b/Doc/library/asyncio-dev.rst @@ -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 - ` 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.