You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the coroutine returns or raises without blocking, the task will be finished eagerly and will skip scheduling to the event loop.
如果协程未发生阻塞即返回或引发异常,任务将主动结果并将跳过向事件循环添加计划任务。
Note that once execution of a cancelled task completed, further calls to uncancel() are ineffective.
请注意一理被取消的任务执行完成,继续调用 uncancel() 将是低效的。
Original Docs Paragraph
No response
Suggested Fix
“主动结果” 改为 “主动结束”
“一理” 改为 “一旦”
The text was updated successfully, but these errors were encountered:
Python Version
3.13
Docs Page
https://docs.python.org/zh-cn/3.13/library/asyncio-task.html
Original Translation
If the coroutine returns or raises without blocking, the task will be finished eagerly and will skip scheduling to the event loop.
如果协程未发生阻塞即返回或引发异常,任务将主动结果并将跳过向事件循环添加计划任务。
Note that once execution of a cancelled task completed, further calls to uncancel() are ineffective.
请注意一理被取消的任务执行完成,继续调用 uncancel() 将是低效的。
Original Docs Paragraph
No response
Suggested Fix
The text was updated successfully, but these errors were encountered: