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

Skip to content

Commit 2fc87da

Browse files
[po] auto sync
1 parent ab34fb0 commit 2fc87da

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

library/collections.po

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Meng Du <[email protected]>, 2019
1010
# dannyvi <[email protected]>, 2019
1111
# Freesand Leo <[email protected]>, 2019
12+
# Arisaka97 <[email protected]>, 2020
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2020-01-01 12:19+0000\n"
1920
"PO-Revision-Date: 2017-02-16 23:03+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
21+
"Last-Translator: Arisaka97 <solitaire2312@gmail.com>, 2020\n"
2122
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2223
"MIME-Version: 1.0\n"
2324
"Content-Type: text/plain; charset=UTF-8\n"
@@ -775,37 +776,37 @@ msgid ""
775776
"arguments are treated the same as if they were passed to the :class:`dict` "
776777
"constructor, including keyword arguments."
777778
msgstr ""
778-
"第一个参数 :attr:`default_factory` 提供了一个初始值。它默认为 ``None`` 。所有的其他参数都等同与 "
779-
":class:`dict` 构建器中的参数对待,包括关键词参数。"
779+
"本对象包含一个名为 :attr:`default_factory` 的属性,构造时,第一个参数用于为该属性提供初始值,默认为 "
780+
"``None``。所有其他参数(包括关键字参数)都相当于传递给 :class:`dict` 的构造函数。"
780781

781782
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/collections.rst:698
782783
msgid ""
783784
":class:`defaultdict` objects support the following method in addition to the"
784785
" standard :class:`dict` operations:"
785-
msgstr ":class:`defaultdict` 对象除了支持 :class:`dict` 的操作,还支持下面的方法作为扩展:"
786+
msgstr ":class:`defaultdict` 对象除了支持标准 :class:`dict` 的操作,还支持以下方法作为扩展:"
786787

787788
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/collections.rst:703
788789
msgid ""
789790
"If the :attr:`default_factory` attribute is ``None``, this raises a "
790791
":exc:`KeyError` exception with the *key* as argument."
791792
msgstr ""
792-
"如果 :attr:`default_factory` ``None`` , 它就升起一个 :exc:`KeyError` 并将 *key* "
793-
"作为参数。"
793+
"如果 :attr:`default_factory` 属性为 ``None``,则调用本函数会抛出 :exc:`KeyError` 异常,附带参数 "
794+
"*key*。"
794795

795796
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/collections.rst:706
796797
msgid ""
797798
"If :attr:`default_factory` is not ``None``, it is called without arguments "
798799
"to provide a default value for the given *key*, this value is inserted in "
799800
"the dictionary for the *key*, and returned."
800801
msgstr ""
801-
"如果 :attr:`default_factory` 不为 ``None`` , 它就会会被调用,不带参数,为 *key* 提供一个默认值, 这个值和 "
802-
"*key* 作为一个对被插入到字典中,并返回。"
802+
"如果 :attr:`default_factory` 不为 ``None``,则它会被(不带参数地)调用来为 *key* 提供一个默认值,这个值和 "
803+
"*key* 作为一对键值对被插入到字典中,并作为本函数的返回值返回。"
803804

804805
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/collections.rst:710
805806
msgid ""
806807
"If calling :attr:`default_factory` raises an exception this exception is "
807808
"propagated unchanged."
808-
msgstr "如果调用 :attr:`default_factory` 升起了一个例外,这个例外就被扩散传递,不经过改变。"
809+
msgstr "如果调用 :attr:`default_factory` 时抛出了异常,这个异常会原封不动地向外层传递。"
809810

810811
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/collections.rst:713
811812
msgid ""

0 commit comments

Comments
 (0)