@@ -952,54 +952,60 @@ msgid ""
952952"``defaults`` is a list of default values for arguments that can be passed "
953953"positionally. If there are fewer defaults, they correspond to the last n "
954954"arguments."
955- msgstr ""
955+ msgstr "``defaults`` 是一个由可按位置传入的参数的默认值组成的列表。 如果默认值个数少于参数个数,则它们将对应最后 n 个参数。 "
956956
957957#: ../../library/ast.rst:1675
958958msgid ""
959959"A single argument in a list. ``arg`` is a raw string of the argument name, "
960960"``annotation`` is its annotation, such as a :class:`Str` or :class:`Name` "
961961"node."
962962msgstr ""
963+ "列表中的一个单独参数。 ``arg`` 为参数名称原始字符串,``annotation`` 为其标注,如一个 :class:`Str` 或 "
964+ ":class:`Name` 节点。"
963965
964966#: ../../library/ast.rst:1681
965967msgid ""
966968"``type_comment`` is an optional string with the type annotation as a comment"
967- msgstr ""
969+ msgstr "``type_comment`` 是一个可选的将注释用作类型标注的字符串。 "
968970
969971#: ../../library/ast.rst:1725
970972msgid "A ``return`` statement."
971- msgstr ""
973+ msgstr "一条 ``return`` 语句。 "
972974
973975#: ../../library/ast.rst:1740
974976msgid ""
975977"A ``yield`` or ``yield from`` expression. Because these are expressions, "
976978"they must be wrapped in a :class:`Expr` node if the value sent back is not "
977979"used."
978980msgstr ""
981+ "一个 ``yield`` 或 ``yield from`` 表达式。 因为这些属于表达式,所以如果发回的值未被使用则必须将它们包装在 "
982+ ":class:`Expr` 节点中。"
979983
980984#: ../../library/ast.rst:1765
981985msgid ""
982986"``global`` and ``nonlocal`` statements. ``names`` is a list of raw strings."
983- msgstr ""
987+ msgstr "``global`` 和 ``nonlocal`` 语句。 ``names`` 为一个由原始字符串组成的列表。 "
984988
985989#: ../../library/ast.rst:1792
986990msgid "A class definition."
987- msgstr ""
991+ msgstr "一个类定义。 "
988992
989993#: ../../library/ast.rst:1794
990994msgid "``name`` is a raw string for the class name"
991- msgstr ""
995+ msgstr "``name`` 为类名称的原始字符串。 "
992996
993997#: ../../library/ast.rst:1795
994998msgid "``bases`` is a list of nodes for explicitly specified base classes."
995- msgstr ""
999+ msgstr "``bases`` 为一个由显式指明的基类节点组成的列表。 "
9961000
9971001#: ../../library/ast.rst:1796
9981002msgid ""
9991003"``keywords`` is a list of :class:`keyword` nodes, principally for "
10001004"'metaclass'. Other keywords will be passed to the metaclass, as per "
10011005"`PEP-3115 <https://www.python.org/dev/peps/pep-3115/>`_."
10021006msgstr ""
1007+ "``keywords`` 为一个由 :class:`keyword` 节点组成的列表,主要用于‘元类’。 其他关键字将被传给这个元类,参见 "
1008+ "`PEP-3115 <https://www.python.org/dev/peps/pep-3115/>`_。"
10031009
10041010#: ../../library/ast.rst:1799
10051011msgid ""
0 commit comments