Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stephenfire opened this issue Mar 21, 2025 · 1 comment
Open

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

stephenfire opened this issue Mar 21, 2025 · 1 comment
Labels
translation 翻译相关的问题

Comments

@stephenfire
Copy link

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. “一理” 改为 “一旦”
@stephenfire stephenfire added the translation 翻译相关的问题 label Mar 21, 2025
@silkriver
Copy link

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation 翻译相关的问题
Projects
None yet
Development

No branches or pull requests

3 participants
@silkriver @stephenfire and others