1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001-2022 , Python Software Foundation
2
+ # Copyright (C) 2001-2024 , Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # Shengjing Zhu <zsj950618@gmail.com>, 2018
8
7
# walkinrain <walkinrain2008@outlook.com>, 2019
9
8
# MuSheng Chen <sheng.2179@gmail.com>, 2019
10
9
# techmoe <i+transifex@lolicookie.com>, 2021
11
- # Freesand Leo <yuqinju@163.com>, 2022
10
+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2023
11
+ # Freesand Leo <yuqinju@163.com>, 2024
12
12
#
13
13
#, fuzzy
14
14
msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.9\n "
17
17
"Report-Msgid-Bugs-To : \n "
18
- "POT-Creation-Date : 2022-11-04 14:34 +0000\n "
18
+ "POT-Creation-Date : 2024-03-08 18:35 +0000\n "
19
19
"PO-Revision-Date : 2017-02-16 17:49+0000\n "
20
- "Last-Translator : Freesand Leo <yuqinju@163.com>, 2022 \n "
21
- "Language-Team : Chinese (China) (https://www .transifex.com/python-doc/teams/5390/zh_CN/)\n "
20
+ "Last-Translator : Freesand Leo <yuqinju@163.com>, 2024 \n "
21
+ "Language-Team : Chinese (China) (https://app .transifex.com/python-doc/teams/5390/zh_CN/)\n "
22
22
"MIME-Version : 1.0\n "
23
23
"Content-Type : text/plain; charset=UTF-8\n "
24
24
"Content-Transfer-Encoding : 8bit\n "
@@ -69,7 +69,7 @@ msgid ""
69
69
"Awaiting on a coroutine. The following snippet of code will print \" hello\" "
70
70
" after waiting for 1 second, and then print \" world\" after waiting for "
71
71
"*another* 2 seconds::"
72
- msgstr "等待一个协程 。以下代码段会在等待 1 秒后打印 \" hello\" ,然后 *再次* 等待 2 秒后打印 \" world\" ::"
72
+ msgstr "对协程执行 await 。以下代码段会在等待 1 秒后打印 \" hello\" ,然后 *再次* 等待 2 秒后打印 \" world\" ::"
73
73
74
74
#: ../../library/asyncio-task.rst:69
75
75
msgid "Expected output::"
@@ -157,7 +157,7 @@ msgstr "当一个协程通过 :func:`asyncio.create_task` 等函数被封装为
157
157
158
158
#: ../../library/asyncio-task.rst:181
159
159
msgid "Futures"
160
- msgstr "Future 对象 "
160
+ msgstr "Futures "
161
161
162
162
#: ../../library/asyncio-task.rst:182
163
163
msgid ""
@@ -506,7 +506,7 @@ msgstr "返回两个 Task/Future 集合: ``(done, pending)``。"
506
506
507
507
#: ../../library/asyncio-task.rst:511
508
508
msgid "Usage::"
509
- msgstr "用法:: "
509
+ msgstr "用法: "
510
510
511
511
#: ../../library/asyncio-task.rst:515
512
512
msgid ""
@@ -530,7 +530,7 @@ msgstr "*return_when* 指定此函数应在何时返回。它必须为以下常
530
530
531
531
#: ../../library/asyncio-task.rst:528
532
532
msgid "Constant"
533
- msgstr "常数 "
533
+ msgstr "常量 "
534
534
535
535
#: ../../library/asyncio-task.rst:528
536
536
msgid "Description"
@@ -691,13 +691,14 @@ msgstr "如果在协程内产生了异常,将会通知返回的 Future 对象
691
691
msgid ""
692
692
"See the :ref:`concurrency and multithreading <asyncio-multithreading>` "
693
693
"section of the documentation."
694
- msgstr "查看 :ref:`并发和多线程<asyncio-multithreading>` 章节的文档。"
694
+ msgstr ""
695
+ "参见 :ref:`concurrency and multithreading <asyncio-multithreading>` 部分的文档。"
695
696
696
697
#: ../../library/asyncio-task.rst:708
697
698
msgid ""
698
699
"Unlike other asyncio functions this function requires the *loop* argument to"
699
700
" be passed explicitly."
700
- msgstr "不同与其他 asyncio 函数,此函数要求显式地传入 *loop* 参数。"
701
+ msgstr "不同于其他 asyncio 函数,此函数要求显式地传入 *loop* 参数。"
701
702
702
703
#: ../../library/asyncio-task.rst:715
703
704
msgid "Introspection"
@@ -773,7 +774,8 @@ msgid ""
773
774
"cancellation, the Future object will be cancelled."
774
775
msgstr ""
775
776
"要取消一个正在运行的 Task 对象可使用 :meth:`cancel` 方法。调用此方法将使该 Task 对象抛出一个 "
776
- ":exc:`CancelledError` 异常给打包的协程。如果取消期间一个协程正在等待一个 Future 对象,该 Future 对象也将被取消。"
777
+ ":exc:`CancelledError` 异常给打包的协程。如果取消期间一个协程正在对 Future 对象执行 await,该 Future "
778
+ "对象也将被取消。"
777
779
778
780
#: ../../library/asyncio-task.rst:769
779
781
msgid ""
@@ -914,7 +916,7 @@ msgstr "要了解更多细节请查看 :meth:`Future.add_done_callback` 的文
914
916
915
917
#: ../../library/asyncio-task.rst:902
916
918
msgid "Remove *callback* from the callbacks list."
917
- msgstr "从回调列表中移除 *callback* 指定的回调 。"
919
+ msgstr "从回调列表中移除 *callback* 。"
918
920
919
921
#: ../../library/asyncio-task.rst:906
920
922
msgid ""
0 commit comments