Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e41575

Browse files
[po] auto sync
1 parent7cd6aff commit4e41575

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"99.56%","updated_at":"2025-10-21T15:15:52Z"}
1+
{"translation":"99.56%","updated_at":"2025-10-22T02:44:34Z"}

‎howto/a-conceptual-overview-of-asyncio.po‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.14\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2025-10-15 14:16+0000\n"
15+
"POT-Creation-Date:2025-10-21 14:16+0000\n"
1616
"PO-Revision-Date:2025-09-16 00:00+0000\n"
1717
"Last-Translator:Freesand Leo <yuqinju@163.com>, 2025\n"
1818
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -127,6 +127,11 @@ msgid ""
127127
"loop is smart enough to rest and avoid needlessly wasting CPU cycles, and "
128128
"will come back when there's more work to be done."
129129
msgstr""
130+
"用更专业的术语来说,事件循环包含一组待运行的作业。 有些作业是由你直接添加的,有些则是由 :mod:`!asyncio` 间接添加的。 "
131+
"事件循环会从其待处理事项中取出一个作业并唤起它(或称“给予其控制权”),类似于调用一个函数,然后该作业就会运行。 "
132+
"一旦它暂停或完成,它会将控制权返回给事件循环。 然后事件循环会从作业池中选择另一个作业并唤起它。 你可以 *粗略地* "
133+
"将这组作业视为一个队列:作业被添加然后被逐个处理,通常(但不总是)按顺序进行。 此过程将无限地重复,事件循环也不停地循环下去。 "
134+
"如果没有待执行的作业,事件循环会足够智能地转入休息状态以避免浪费 CPU 周期,并在有更多工作需完成时恢复运行。"
130135

131136
#:../../howto/a-conceptual-overview-of-asyncio.rst:64
132137
msgid""
@@ -581,6 +586,9 @@ msgid ""
581586
"see the output of all three ``coro_a()`` invocations before ``coro_b()``'s "
582587
"output:"
583588
msgstr""
589+
"协程 ``main()`` 中的第一条语句创建了 ``task_b`` 并调度它通过事件循环运行。 然后,将重复地等待 ``coro_a()``。 "
590+
"控制权从未被交还给事件循环,这就是为什么在 ``coro_b()`` 的输出之前我们会看到所有三次唤起 ``coro_a()`` "
591+
"的输出。invocations before"
584592

585593
#:../../howto/a-conceptual-overview-of-asyncio.rst:315
586594
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp