@@ -78,7 +78,7 @@ msgstr "赋值语句用于将名称(重)绑定到特定值,以及修改属
7878msgid ""
7979"(See section :ref:`primaries` for the syntax definitions for *attributeref*,"
8080" *subscription*, and *slicing*.)"
81- msgstr ""
81+ msgstr "(请参阅 :ref:`primaries` 一节了解 *属性引用*, *抽取* 和 *切片* 的句法定义。) "
8282
8383#: ../../reference/simple_stmts.rst:99
8484msgid ""
@@ -87,6 +87,7 @@ msgid ""
8787"tuple) and assigns the single resulting object to each of the target lists, "
8888"from left to right."
8989msgstr ""
90+ "赋值语句会对指定的表达式列表进行求值(注意这可能为单一表达式或是由逗号分隔的列表,后者将产生一个元组)并将单一结果对象从左至右逐个赋值给目标列表。"
9091
9192#: ../../reference/simple_stmts.rst:108
9293msgid ""
@@ -98,18 +99,21 @@ msgid ""
9899"exceptions raised are given with the definition of the object types (see "
99100"section :ref:`types`)."
100101msgstr ""
102+ "赋值是根据目标(列表)的格式递归地定义的。 "
103+ "当目标为一个可变对象(属性引用、抽取或切片)的组成部分时,该可变对象必须最终执行赋值并决定其有效性,如果赋值操作不可接受也可能引发异常。 "
104+ "各种类型可用的规则和引发的异常通过对象类型的定义给出(参见 :ref:`types` 一节)。"
101105
102106#: ../../reference/simple_stmts.rst:121
103107msgid ""
104108"Assignment of an object to a target list, optionally enclosed in parentheses"
105109" or square brackets, is recursively defined as follows."
106- msgstr ""
110+ msgstr "对象赋值的目标对象可以包含于圆括号或方括号内,具体操作按以下方式递归地定义。 "
107111
108112#: ../../reference/simple_stmts.rst:124
109113msgid ""
110114"If the target list is a single target with no trailing comma, optionally in "
111115"parentheses, the object is assigned to that target."
112- msgstr ""
116+ msgstr "如果目标列表为后面不带逗号、可以包含于圆括号内的单一目标,则将对象赋值给该目标。 "
113117
114118#: ../../reference/simple_stmts.rst:127 ../../reference/simple_stmts.rst:139
115119msgid ""
0 commit comments