mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-133515: fix docs for unawaited coroutines in debug mode (#134081)
This commit is contained in:
parent
7a4a6cf2b8
commit
d94b1e9cac
1 changed files with 0 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue