python/python-docs-zh-cn

[Typo]: asyncio-task的两处笔误

Closed this issue · 1 comments

Python Version

3.13

Docs Page

https://docs.python.org/zh-cn/3.13/library/asyncio-task.html

Original Translation

  1. If the coroutine returns or raises without blocking, the task will be finished eagerly and will skip scheduling to the event loop.
    如果协程未发生阻塞即返回或引发异常,任务将主动结果并将跳过向事件循环添加计划任务。

  2. Note that once execution of a cancelled task completed, further calls to uncancel() are ineffective.
    请注意一理被取消的任务执行完成,继续调用 uncancel() 将是低效的。

Original Docs Paragraph

No response

Suggested Fix

  1. “主动结果” 改为 “主动结束”
  2. “一理” 改为 “一旦”

fixed