88# walkinrain <[email protected] >, 201999# MuSheng Chen <[email protected] >, 20191010# Freesand Leo <[email protected] >, 202011+ # techmoe <[email protected] >, 20211112#
1213#, fuzzy
1314msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617"Report-Msgid-Bugs-To : \n "
1718"POT-Creation-Date : 2021-01-01 05:02+0000\n "
1819"PO-Revision-Date : 2017-02-16 17:49+0000\n "
19- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020 \n "
20+ "Last-Translator : techmoe <i+transifex@lolicookie .com>, 2021 \n "
2021"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2122"MIME-Version : 1.0\n "
2223"Content-Type : text/plain; charset=UTF-8\n "
@@ -51,7 +52,7 @@ msgstr ""
5152#: ../../library/asyncio-task.rst:37
5253msgid ""
5354"Note that simply calling a coroutine will not schedule it to be executed::"
54- msgstr "注意:简单地调用一个协程并不会将其加入执行日程:: "
55+ msgstr "注意:简单地调用一个协程并不会使其被调度执行 "
5556
5657#: ../../library/asyncio-task.rst:43
5758msgid "To actually run a coroutine, asyncio provides three main mechanisms:"
@@ -145,14 +146,14 @@ msgstr "任务"
145146
146147#: ../../library/asyncio-task.rst:157
147148msgid "*Tasks* are used to schedule coroutines *concurrently*."
148- msgstr "*任务* 被用来设置日程以便 *并发* 执行协程。 "
149+ msgstr "*任务* 被用来“并行的”调度协程 "
149150
150151#: ../../library/asyncio-task.rst:159
151152msgid ""
152153"When a coroutine is wrapped into a *Task* with functions like "
153154":func:`asyncio.create_task` the coroutine is automatically scheduled to run "
154155"soon::"
155- msgstr "当一个协程通过 :func:`asyncio.create_task` 等函数被打包为一个 *任务*,该协程将自动排入日程准备立即运行 ::"
156+ msgstr "当一个协程通过 :func:`asyncio.create_task` 等函数被封装为一个 *任务*,该协程会被自动调度执行 ::"
156157
157158#: ../../library/asyncio-task.rst:181
158159msgid "Futures"
@@ -249,8 +250,7 @@ msgstr "创建任务"
249250msgid ""
250251"Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task` and "
251252"schedule its execution. Return the Task object."
252- msgstr ""
253- "将 *coro* :ref:`协程 <coroutine>` 打包为一个 :class:`Task` 排入日程准备执行。返回 Task 对象。"
253+ msgstr "将 *coro* :ref:`协程 <coroutine>` 封装为一个 :class:`Task` 并调度其执行。返回 Task 对象。"
254254
255255#: ../../library/asyncio-task.rst:255
256256msgid ""
@@ -324,7 +324,7 @@ msgstr "*并发* 运行 *aws* 序列中的 :ref:`可等待对象 <asyncio-awaita
324324msgid ""
325325"If any awaitable in *aws* is a coroutine, it is automatically scheduled as a"
326326" Task."
327- msgstr "如果 *aws* 中的某个可等待对象为协程,它将自动作为一个任务加入日程 。"
327+ msgstr "如果 *aws* 中的某个可等待对象为协程,它将自动被作为一个任务调度 。"
328328
329329#: ../../library/asyncio-task.rst:330
330330msgid ""
@@ -396,7 +396,7 @@ msgstr "保护一个 :ref:`可等待对象 <asyncio-awaitables>` 防止其被 :m
396396
397397#: ../../library/asyncio-task.rst:411 ../../library/asyncio-task.rst:451
398398msgid "If *aw* is a coroutine it is automatically scheduled as a Task."
399- msgstr "如果 *aw* 是一个协程,它将自动作为任务加入日程 。"
399+ msgstr "如果 *aw* 是一个协程,它将自动被作为任务调度 。"
400400
401401#: ../../library/asyncio-task.rst:413
402402msgid "The statement::"
@@ -570,7 +570,7 @@ msgid ""
570570" Task. Passing coroutines objects to ``wait()`` directly is deprecated as "
571571"it leads to :ref:`confusing behavior <asyncio_example_wait_coroutine>`."
572572msgstr ""
573- "如果 *aws* 中的某个可等待对象为协程,它将自动作为任务加入日程 。直接向 ``wait()`` 传入协程对象已弃用,因为这会导致 "
573+ "如果 *aws* 中的某个可等待对象为协程,它将自动被作为任务调度 。直接向 ``wait()`` 传入协程对象已弃用,因为这会导致 "
574574":ref:`令人迷惑的行为 <asyncio_example_wait_coroutine>`。"
575575
576576#: ../../library/asyncio-task.rst:563
@@ -579,7 +579,7 @@ msgid ""
579579"those implicitly created Task objects in ``(done, pending)`` sets. "
580580"Therefore the following code won't work as expected::"
581581msgstr ""
582- "``wait()`` 会自动将协程作为任务加入日程,以后将以 ``(done, pending)`` "
582+ "``wait()`` 会自动以任务的形式调度协程,之后将以 ``(done, pending)`` "
583583"集合形式返回显式创建的任务对象。因此以下代码并不会有预期的行为::"
584584
585585#: ../../library/asyncio-task.rst:576
0 commit comments