@@ -585,43 +585,48 @@ msgid ""
585585"The ``target`` attribute cannot be of class :class:`Tuple` or :class:`List`,"
586586" unlike the targets of :class:`Assign`."
587587msgstr ""
588+ "``target`` 属性不可以是 :class:`Tuple` 或 :class:`List` 类,这与 :class:`Assign` 的目标不同。"
588589
589590#: ../../library/ast.rst:858
590591msgid ""
591592"A ``raise`` statement. ``exc`` is the exception object to be raised, "
592593"normally a :class:`Call` or :class:`Name`, or ``None`` for a standalone "
593594"``raise``. ``cause`` is the optional part for ``y`` in ``raise x from y``."
594595msgstr ""
596+ "一条 ``raise`` 语句。 ``exc`` 是要引发的异常,对于一个单独的 ``raise`` 通常为 :class:`Call` 或 "
597+ ":class:`Name`,或者为 ``None``。 ``cause`` 是针对 ``raise x from y`` 中 ``y`` 的可选部分。"
595598
596599#: ../../library/ast.rst:875
597600msgid ""
598601"An assertion. ``test`` holds the condition, such as a :class:`Compare` node."
599602" ``msg`` holds the failure message."
600- msgstr ""
603+ msgstr "一条断言。 ``test`` 保存条件,例如为一个 :class:`Compare` 节点。 ``msg`` 保存失败消息。 "
601604
602605#: ../../library/ast.rst:891
603606msgid ""
604607"Represents a ``del`` statement. ``targets`` is a list of nodes, such as "
605608":class:`Name`, :class:`Attribute` or :class:`Subscript` nodes."
606609msgstr ""
610+ "代表一条 ``del`` 语句。 ``targets`` 是一个由节点组成的列表,例如 :class:`Name`, "
611+ ":class:`Attribute` 或 :class:`Subscript` 节点。"
607612
608613#: ../../library/ast.rst:909
609614msgid "A ``pass`` statement."
610- msgstr ""
615+ msgstr "一条 ``pass`` 语句。 "
611616
612617#: ../../library/ast.rst:920
613618msgid ""
614619"Other statements which are only applicable inside functions or loops are "
615620"described in other sections."
616- msgstr ""
621+ msgstr "其他仅在函数或循环内部可用的语句将在其他小节中描述。 "
617622
618623#: ../../library/ast.rst:924
619624msgid "Imports"
620- msgstr ""
625+ msgstr "导入 "
621626
622627#: ../../library/ast.rst:928
623628msgid "An import statement. ``names`` is a list of :class:`alias` nodes."
624- msgstr ""
629+ msgstr "一条导入语句。 ``names`` 是一个由 :class:`alias` 节点组成的列表。 "
625630
626631#: ../../library/ast.rst:945
627632msgid ""
@@ -630,12 +635,14 @@ msgid ""
630635"import foo``. ``level`` is an integer holding the level of the relative "
631636"import (0 means absolute import)."
632637msgstr ""
638+ "代表 ``from x import y``。 ``module`` 是一个 'from' 名称的原始字符串,不带任何前导点号,或者为 ``None``"
639+ " 表示 ``from . import foo`` 这样的语句。 ``level`` 是一个保存相对导入层级的整数(0 表示绝对导入)。"
633640
634641#: ../../library/ast.rst:967
635642msgid ""
636643"Both parameters are raw strings of the names. ``asname`` can be ``None`` if "
637644"the regular name is to be used."
638- msgstr ""
645+ msgstr "两个形参均为名称的原始字符串。 如果要使用常规名称则 ``asname`` 可以为 ``None``。 "
639646
640647#: ../../library/ast.rst:984
641648msgid "Control flow"
0 commit comments