Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f36f2ec

Browse files
[po] auto sync
1 parent b193687 commit f36f2ec

5 files changed

Lines changed: 10 additions & 4 deletions

File tree

faq/design.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,8 @@ msgid ""
10561056
"iterator run to completion, no closing is needed. When it is, wrap it as "
10571057
"\"contextlib.closing(generator)\" in the 'with' statment."
10581058
msgstr ""
1059+
"由于技术原因,直接作为上下文管理器使用的生成器将不能正确工作。 最常见的情况是,当生成器用作迭代器时会一直运行到结束,而不需要手动关闭。 "
1060+
"确实需要作为上下文管理器时,请在 'with' 语句中将它包装于 \"contextlib.closing(generator)\" 中。"
10591061

10601062
#: ../../faq/design.rst:722
10611063
msgid "Why are colons required for the if/while/def/class statements?"

library/atexit.po

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# cissoid <[email protected]>, 2018
88
# Kade For, 2019
9-
# Freesand Leo <[email protected]>, 2019
9+
# Freesand Leo <[email protected]>, 2021
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2021-06-23 06:41+0000\n"
1717
"PO-Revision-Date: 2017-02-16 17:50+0000\n"
18-
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
18+
"Last-Translator: Freesand Leo <[email protected]>, 2021\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -83,6 +83,8 @@ msgid ""
8383
"information is saved. After all exit handlers have had a chance to run, the"
8484
" last exception to be raised is re-raised."
8585
msgstr ""
86+
"如果在 exit 处理句柄执行期间引发了异常,将会打印回溯信息 (除非引发的是 :exc:`SystemExit`) 并且异常信息会被保存。 在所有 "
87+
"exit 处理句柄都获得运行机会之后,所引发的最后一个异常会被重新引发。"
8688

8789
#: ../../library/atexit.rst:45
8890
msgid ""

library/collections.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ msgid ""
771771
"writable instance variable. The remaining functionality is the same as for "
772772
"the :class:`dict` class and is not documented here."
773773
msgstr ""
774+
"返回一个新的类似字典的对象。 :class:`defaultdict` 是内置 :class:`dict` 类的子类。 "
775+
"它重载了一个方法并添加了一个可写的实例变量。 其余的功能与 :class:`dict` 类相同因而不在此文档中写明。"
774776

775777
#: ../../library/collections.rst:695
776778
msgid ""

library/multiprocessing.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3539,7 +3539,7 @@ msgstr "交换最后两行可以修复这个问题(或者直接删掉 ``p.join
35393539

35403540
#: ../../library/multiprocessing.rst:2802
35413541
msgid "Explicitly pass resources to child processes"
3542-
msgstr "显示传递资源给子进程"
3542+
msgstr "显式传递资源给子进程"
35433543

35443544
#: ../../library/multiprocessing.rst:2804
35453545
msgid ""

library/xml.sax.handler.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ msgstr "*name* 形参包含元素类型的名称,与 :meth:`startElementNS`
440440

441441
#: ../../library/xml.sax.handler.rst:290
442442
msgid "Receive notification of character data."
443-
msgstr ""
443+
msgstr "接收字符数据的通知。"
444444

445445
#: ../../library/xml.sax.handler.rst:292
446446
msgid ""

0 commit comments

Comments
 (0)