gh-133515: fix docs for unawaited coroutines in debug mode (#134081)

This commit is contained in:
Kumar Aditya 2025-05-16 21:01:15 +05:30 committed by GitHub
parent 7a4a6cf2b8
commit d94b1e9cac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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.