@@ -789,54 +789,60 @@ msgid ""
789789"``defaults`` is a list of default values for arguments that can be passed "
790790"positionally. If there are fewer defaults, they correspond to the last n "
791791"arguments."
792- msgstr ""
792+ msgstr "``defaults`` 是一个由可按位置传入的参数的默认值组成的列表。 如果默认值个数少于参数个数,则它们将对应最后 n 个参数。 "
793793
794794#: ../../library/ast.rst:1307
795795msgid ""
796796"A single argument in a list. ``arg`` is a raw string of the argument name, "
797797"``annotation`` is its annotation, such as a :class:`Str` or :class:`Name` "
798798"node."
799799msgstr ""
800+ "列表中的一个单独参数。 ``arg`` 为参数名称原始字符串,``annotation`` 为其标注,如一个 :class:`Str` 或 "
801+ ":class:`Name` 节点。"
800802
801803#: ../../library/ast.rst:1313
802804msgid ""
803805"``type_comment`` is an optional string with the type annotation as a comment"
804- msgstr ""
806+ msgstr "``type_comment`` 是一个可选的将注释用作类型标注的字符串。 "
805807
806808#: ../../library/ast.rst:1357
807809msgid "A ``return`` statement."
808- msgstr ""
810+ msgstr "A ``return`` 语句。 "
809811
810812#: ../../library/ast.rst:1372
811813msgid ""
812814"A ``yield`` or ``yield from`` expression. Because these are expressions, "
813815"they must be wrapped in a :class:`Expr` node if the value sent back is not "
814816"used."
815817msgstr ""
818+ "一个 ``yield`` 或 ``yield from`` 表达式。 因为这些属于表达式,所以如果发回的值未被使用则必须将它们包装在 "
819+ ":class:`Expr` 节点中。"
816820
817821#: ../../library/ast.rst:1397
818822msgid ""
819823"``global`` and ``nonlocal`` statements. ``names`` is a list of raw strings."
820- msgstr ""
824+ msgstr "``global`` 和 ``nonlocal`` 语句。 ``names`` 为一个由原始字符串组成的列表。 "
821825
822826#: ../../library/ast.rst:1424
823827msgid "A class definition."
824- msgstr ""
828+ msgstr "一个类定义。 "
825829
826830#: ../../library/ast.rst:1426
827831msgid "``name`` is a raw string for the class name"
828- msgstr ""
832+ msgstr "``name`` 为类名称的原始字符串。 "
829833
830834#: ../../library/ast.rst:1427
831835msgid "``bases`` is a list of nodes for explicitly specified base classes."
832- msgstr ""
836+ msgstr "``bases`` 为一个由显式指明的基类节点组成的列表。 "
833837
834838#: ../../library/ast.rst:1428
835839msgid ""
836840"``keywords`` is a list of :class:`keyword` nodes, principally for "
837841"'metaclass'. Other keywords will be passed to the metaclass, as per "
838842"`PEP-3115 <https://www.python.org/dev/peps/pep-3115/>`_."
839843msgstr ""
844+ "``keywords`` 为一个由 :class:`keyword` 节点组成的列表,主要用于‘元类’。 其他关键字将被传给这个元类,参见 "
845+ "`PEP-3115 <https://www.python.org/dev/peps/pep-3115/>`_。"
840846
841847#: ../../library/ast.rst:1431
842848msgid ""
0 commit comments