@@ -678,22 +678,27 @@ msgid ""
678678"contain lists of nodes to execute. Those in ``orelse`` are executed if the "
679679"loop finishes normally, rather than via a ``break`` statement."
680680msgstr ""
681+ "一个 ``for`` 循环。 ``target`` 保存循环赋值的变量,是一个单独 :class:`Name`, :class:`Tuple` 或 "
682+ ":class:`List` 节点。 ``iter`` 保存要被循环的条目,同样也是一个单独节点。 ``body`` 和 ``orelse`` "
683+ "包含要执行的节点列表。 ``orelse`` 中的会在循环正常结束而不是通过 ``break`` 语句结束时被执行。"
681684
682685#: ../../library/ast.rst:1064
683686msgid ""
684687"A ``while`` loop. ``test`` holds the condition, such as a :class:`Compare` "
685688"node."
686- msgstr ""
689+ msgstr "一个 ``while`` 循环。 ``test`` 保存条件,如一个 :class:`Compare` 节点。 "
687690
688691#: ../../library/ast.rst:1091
689692msgid "The ``break`` and ``continue`` statements."
690- msgstr ""
693+ msgstr "``break`` 和 ``continue`` 语句。 "
691694
692695#: ../../library/ast.rst:1126
693696msgid ""
694697"``try`` blocks. All attributes are list of nodes to execute, except for "
695698"``handlers``, which is a list of :class:`ExceptHandler` nodes."
696699msgstr ""
700+ "``try`` 代码块。 所有属性都是要执行的节点列表,除了 ``handlers``,它是一个 :class:`ExceptHandler` "
701+ "节点列表。"
697702
698703#: ../../library/ast.rst:1172
699704msgid ""
@@ -702,6 +707,9 @@ msgid ""
702707"clause). ``name`` is a raw string for the name to hold the exception, or "
703708"``None`` if the clause doesn't have ``as foo``. ``body`` is a list of nodes."
704709msgstr ""
710+ "一个单独的 ``except`` 子句。 ``type`` 是它将匹配的异常,通常为一个 :class:`Name` 节点(或 ``None`` "
711+ "表示捕获全部的 ``except:`` 子句)。 ``name`` 是一个用于存放异常的别名的原始字符串,或者如果子句没有 ``as foo`` 则为 "
712+ "``None``。 ``body`` 为一个节点列表。"
705713
706714#: ../../library/ast.rst:1206
707715msgid ""
0 commit comments