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

Skip to content

Commit ec5d14c

Browse files
[po] auto sync
1 parent 1af9673 commit ec5d14c

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

library/ast.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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."
680680
msgstr ""
681+
"一个 ``for`` 循环。 ``target`` 保存循环赋值的变量,是一个单独 :class:`Name`, :class:`Tuple` 或 "
682+
":class:`List` 节点。 ``iter`` 保存要被循环的条目,同样也是一个单独节点。 ``body`` 和 ``orelse`` "
683+
"包含要执行的节点列表。 ``orelse`` 中的会在循环正常结束而不是通过 ``break`` 语句结束时被执行。"
681684

682685
#: ../../library/ast.rst:1064
683686
msgid ""
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
689692
msgid "The ``break`` and ``continue`` statements."
690-
msgstr ""
693+
msgstr "``break`` 和 ``continue`` 语句。"
691694

692695
#: ../../library/ast.rst:1126
693696
msgid ""
694697
"``try`` blocks. All attributes are list of nodes to execute, except for "
695698
"``handlers``, which is a list of :class:`ExceptHandler` nodes."
696699
msgstr ""
700+
"``try`` 代码块。 所有属性都是要执行的节点列表,除了 ``handlers``,它是一个 :class:`ExceptHandler` "
701+
"节点列表。"
697702

698703
#: ../../library/ast.rst:1172
699704
msgid ""
@@ -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."
704709
msgstr ""
710+
"一个单独的 ``except`` 子句。 ``type`` 是它将匹配的异常,通常为一个 :class:`Name` 节点(或 ``None`` "
711+
"表示捕获全部的 ``except:`` 子句)。 ``name`` 是一个用于存放异常的别名的原始字符串,或者如果子句没有 ``as foo`` 则为 "
712+
"``None``。 ``body`` 为一个节点列表。"
705713

706714
#: ../../library/ast.rst:1206
707715
msgid ""

0 commit comments

Comments
 (0)