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

Skip to content

Commit 9a60787

Browse files
committed
[po] auto sync bot
1 parent c395de9 commit 9a60787

2 files changed

Lines changed: 30 additions & 19 deletions

File tree

reference/datamodel.po

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# Fred <[email protected]>, 2018
1313
# eric R <[email protected]>, 2018
1414
# ww song <[email protected]>, 2018
15-
# zkonge, 2018
1615
# Zombie110year <[email protected]>, 2019
16+
# zkonge, 2019
1717
# Freesand Leo <[email protected]>, 2019
1818
#
1919
#, fuzzy
@@ -660,7 +660,7 @@ msgstr ":attr:`__doc__`"
660660
msgid ""
661661
"The function's documentation string, or ``None`` if unavailable; not "
662662
"inherited by subclasses."
663-
msgstr ""
663+
msgstr "该函数的文档字符串,没有则为 ``None``不会被子类所继承。"
664664

665665
#: ../../reference/datamodel.rst:475 ../../reference/datamodel.rst:480
666666
#: ../../reference/datamodel.rst:483 ../../reference/datamodel.rst:488
@@ -676,15 +676,15 @@ msgstr ":attr:`~definition.\\ __name__`"
676676

677677
#: ../../reference/datamodel.rst:480
678678
msgid "The function's name."
679-
msgstr ""
679+
msgstr "该函数的名称。"
680680

681681
#: ../../reference/datamodel.rst:483
682682
msgid ":attr:`~definition.\\ __qualname__`"
683683
msgstr ":attr:`~definition.\\ __qualname__`"
684684

685685
#: ../../reference/datamodel.rst:483
686686
msgid "The function's :term:`qualified name`."
687-
msgstr ""
687+
msgstr "该函数的 :term:`qualified name`。"
688688

689689
#: ../../reference/datamodel.rst:488
690690
msgid ":attr:`__module__`"
@@ -704,7 +704,7 @@ msgstr ":attr:`__defaults__`"
704704
msgid ""
705705
"A tuple containing default argument values for those arguments that have "
706706
"defaults, or ``None`` if no arguments have a default value."
707-
msgstr ""
707+
msgstr "由具有默认值的参数的默认参数值组成的元组,如无任何参数具有默认值则为 ``None``。"
708708

709709
#: ../../reference/datamodel.rst:498
710710
msgid ":attr:`__code__`"
@@ -2414,7 +2414,7 @@ msgid ""
24142414
"for the declared variables and prevents the automatic creation of *__dict__*"
24152415
" and *__weakref__* for each instance."
24162416
msgstr ""
2417-
"这个类变量可赋值为字符串、可迭代对象或由实例使用的变量名构成的字符串序列。 *__slots__* 会为已声明的变量保留空间,并阻止自动为每个实际创建 "
2417+
"这个类变量可赋值为字符串、可迭代对象或由实例使用的变量名构成的字符串序列。 *__slots__* 会为已声明的变量保留空间,并阻止自动为每个实例创建 "
24182418
"*__dict__* 和 *__weakref__*。"
24192419

24202420
#: ../../reference/datamodel.rst:1739
@@ -2596,23 +2596,23 @@ msgstr "当一个类定义被执行时,将发生以下步骤:"
25962596

25972597
#: ../../reference/datamodel.rst:1864
25982598
msgid "MRO entries are resolved;"
2599-
msgstr ""
2599+
msgstr "解析 MRO 条目;"
26002600

26012601
#: ../../reference/datamodel.rst:1865
26022602
msgid "the appropriate metaclass is determined;"
2603-
msgstr ""
2603+
msgstr "确定适当的元类;"
26042604

26052605
#: ../../reference/datamodel.rst:1866
26062606
msgid "the class namespace is prepared;"
2607-
msgstr ""
2607+
msgstr "准备类命名空间;"
26082608

26092609
#: ../../reference/datamodel.rst:1867
26102610
msgid "the class body is executed;"
2611-
msgstr ""
2611+
msgstr "执行类主体;"
26122612

26132613
#: ../../reference/datamodel.rst:1868
26142614
msgid "the class object is created."
2615-
msgstr ""
2615+
msgstr "创建类对象。"
26162616

26172617
#: ../../reference/datamodel.rst:1872
26182618
msgid "Resolving MRO entries"
@@ -2645,19 +2645,19 @@ msgstr "为一个类定义确定适当的元类是根据以下规则:"
26452645
#: ../../reference/datamodel.rst:1892
26462646
msgid ""
26472647
"if no bases and no explicit metaclass are given, then :func:`type` is used;"
2648-
msgstr ""
2648+
msgstr "如果没有基类且没有显式指定元类,则使用 :func:`type`;"
26492649

26502650
#: ../../reference/datamodel.rst:1893
26512651
msgid ""
26522652
"if an explicit metaclass is given and it is *not* an instance of "
26532653
":func:`type`, then it is used directly as the metaclass;"
2654-
msgstr ""
2654+
msgstr "如果给出一个显式元类而且 *不是* :func:`type` 的实例,则其会被直接用作元类;"
26552655

26562656
#: ../../reference/datamodel.rst:1895
26572657
msgid ""
26582658
"if an instance of :func:`type` is given as the explicit metaclass, or bases "
26592659
"are defined, then the most derived metaclass is used."
2660-
msgstr ""
2660+
msgstr "如果给出一个 :func:`type` 的实例作为显式元类,或是定义了基类,则使用最近派生的元类。"
26612661

26622662
#: ../../reference/datamodel.rst:1898
26632663
msgid ""
@@ -2785,7 +2785,7 @@ msgstr ""
27852785
msgid ""
27862786
"second, all of these ``__set_name__`` methods are called with the class "
27872787
"being defined and the assigned name of that particular descriptor;"
2788-
msgstr ""
2788+
msgstr "接下来,所有这些 ``__set_name__`` 方法将使用所定义的类和特定描述器所赋的名称进行调用;"
27892789

27902790
#: ../../reference/datamodel.rst:1985
27912791
msgid ""
@@ -2902,7 +2902,7 @@ msgstr "模拟泛型类型"
29022902
msgid ""
29032903
"One can implement the generic class syntax as specified by :pep:`484` (for "
29042904
"example ``List[int]``) by defining a special method:"
2905-
msgstr ""
2905+
msgstr "通过定义一个特殊方法,可以实现由 :pep:`484` 所规定的泛型类语法 (例如 ``List[int]``):"
29062906

29072907
#: ../../reference/datamodel.rst:2060
29082908
msgid ""

whatsnew/3.7.po

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# ww song <[email protected]>, 2018
87
# Kaizhao Zhang <[email protected]>, 2018
8+
# ww song <[email protected]>, 2018
99
# 马强 <[email protected]>, 2019
1010
# Freesand Leo <[email protected]>, 2019
1111
#
@@ -57,7 +57,7 @@ msgstr "新的语法特性:"
5757
msgid ""
5858
":ref:`PEP 563 <whatsnew37-pep563>`, postponed evaluation of type "
5959
"annotations."
60-
msgstr ":ref:`PEP 563 <whatsnew37-pep563>`,类型标注解延迟求值。"
60+
msgstr ":ref:`PEP 563 <whatsnew37-pep563>`,类型标注延迟求值。"
6161

6262
#: ../../whatsnew/3.7.rst:62
6363
msgid "Backwards incompatible syntax changes:"
@@ -152,7 +152,7 @@ msgstr ":ref:`PEP 540 <whatsnew37-pep540>`,强制 UTF-8 运行时模式"
152152

153153
#: ../../whatsnew/3.7.rst:104
154154
msgid ":ref:`PEP 552 <whatsnew37-pep552>`, deterministic .pycs"
155-
msgstr ":ref:`PEP 552 <whatsnew37-pep552>`,确定性的 .pycs"
155+
msgstr ":ref:`PEP 552 <whatsnew37-pep552>`,确定性的 .pyc 文件"
156156

157157
#: ../../whatsnew/3.7.rst:105
158158
msgid ":ref:`the new development runtime mode <whatsnew37-devmode>`"
@@ -4029,6 +4029,8 @@ msgid ""
40294029
"The :attr:`struct.Struct.format` type is now :class:`str` instead of "
40304030
":class:`bytes`. (Contributed by Victor Stinner in :issue:`21071`.)"
40314031
msgstr ""
4032+
":attr:`struct.Struct.format` 的类型现在是 :class:`str` 而非 :class:`bytes`。 (由 "
4033+
"Victor Stinner 在 :issue:`21071` 中贡献。)"
40324034

40334035
#: ../../whatsnew/3.7.rst:2298
40344036
msgid ""
@@ -4037,27 +4039,36 @@ msgid ""
40374039
"file fields, the value associated to a key is a list of strings, not bytes. "
40384040
"(Contributed by Pierre Quentel in :issue:`29979`.)"
40394041
msgstr ""
4042+
":func:`~cgi.parse_multipart` 现在接受 *encoding* 和 *errors* 参数并返回与 "
4043+
":class:`~FieldStorage` 同样的结果:对于非文件字段,与键相关联的值是一个字符串列表,而非字节串。 (由 Pierre "
4044+
"Quentel 在 :issue:`29979` 中贡献。)"
40404045

40414046
#: ../../whatsnew/3.7.rst:2304
40424047
msgid ""
40434048
"Due to internal changes in :mod:`socket`, calling :func:`socket.fromshare` "
40444049
"on a socket created by :func:`socket.share <socket.socket.share>` in older "
40454050
"Python versions is not supported."
40464051
msgstr ""
4052+
"由于 :mod:`socket` 中的内部更改,在由旧版 Python 中的 :func:`socket.share "
4053+
"<socket.socket.share>` 所创建的套接字上调用 :func:`socket.fromshare` 已不受支持。"
40474054

40484055
#: ../../whatsnew/3.7.rst:2308
40494056
msgid ""
40504057
"``repr`` for :exc:`BaseException` has changed to not include the trailing "
40514058
"comma. Most exceptions are affected by this change. (Contributed by Serhiy "
40524059
"Storchaka in :issue:`30399`.)"
40534060
msgstr ""
4061+
":exc:`BaseException` 的 ``repr`` 已更改为不包含末尾的逗号。 大多数异常都会受此更改影响。 (由 Serhiy "
4062+
"Storchaka 在 :issue:`30399` 中贡献。)"
40544063

40554064
#: ../../whatsnew/3.7.rst:2312
40564065
msgid ""
40574066
"``repr`` for :class:`datetime.timedelta` has changed to include the keyword "
40584067
"arguments in the output. (Contributed by Utkarsh Upadhyay in "
40594068
":issue:`30302`.)"
40604069
msgstr ""
4070+
":class:`datetime.timedelta` 的 ``repr`` 已更改为在输出中包含关键字参数。 (由 Utkarsh Upadhyay "
4071+
"在 :issue:`30302` 中贡献。)"
40614072

40624073
#: ../../whatsnew/3.7.rst:2315
40634074
msgid ""

0 commit comments

Comments
 (0)