@@ -122,27 +122,27 @@ msgstr "等号(``=``)用于给变量赋值。然后,在下一个交互提
122122msgid ""
123123"If a variable is not \" defined\" (assigned a value), trying to use it will "
124124"give you an error::"
125- msgstr "如果一个变量未定义( 未赋值),试图使用它时会向你提示错误:: "
125+ msgstr "如果变量未定义( 未赋值),使用该变量时会提示错误: "
126126
127127#: ../../tutorial/introduction.rst:102
128128msgid ""
129129"There is full support for floating point; operators with mixed type operands"
130130" convert the integer operand to floating point::"
131- msgstr "Python中提供浮点数的完整支持;包含多种混合类型运算数的运算会把整数转换为浮点数:: "
131+ msgstr "Python 全面支持浮点数;混合类型运算数的运算会把整数转换为浮点数: "
132132
133133#: ../../tutorial/introduction.rst:108
134134msgid ""
135135"In interactive mode, the last printed expression is assigned to the variable"
136136" ``_``. This means that when you are using Python as a desk calculator, it "
137137"is somewhat easier to continue calculations, for example::"
138- msgstr "在交互模式下,上一次打印出来的表达式被赋值给变量 ``_``。这意味着当你把Python用作桌面计算器时,继续计算会相对简单,比如:: "
138+ msgstr "交互模式下,上次输出的表达式会赋给变量 ``_``。即,把 Python 当作计算器时,实现下一步计算更简单,例如: "
139139
140140#: ../../tutorial/introduction.rst:121
141141msgid ""
142142"This variable should be treated as read-only by the user. Don't explicitly "
143143"assign a value to it --- you would create an independent local variable with"
144144" the same name masking the built-in variable with its magic behavior."
145- msgstr "这个变量应该被使用者当作是只读类型。不要向它显式地赋值——你会创建一个和它名字相同独立的本地变量,它会使用魔法行为屏蔽内部变量 。"
145+ msgstr "最好把这个变量当作只读类型。不要为它显式赋值 —— 否则会创建一个同名独立局部变量,该变量会用它的魔法行为屏蔽内置变量 。"
146146
147147#: ../../tutorial/introduction.rst:125
148148msgid ""
@@ -152,9 +152,9 @@ msgid ""
152152":ref:`complex numbers <typesnumeric>`, and uses the ``j`` or ``J`` suffix to"
153153" indicate the imaginary part (e.g. ``3+5j``)."
154154msgstr ""
155- "除了 :class:`int` 和 :class:`float`,Python也支持其他类型的数字 ,例如 "
156- ":class:`~decimal.Decimal` 或者 :class:`~fractions.Fraction`。Python 也内置对 "
157- ":ref:`复数 <typesnumeric>` 的支持,使用后缀 ``j`` 或者 ``J`` 就可以表示虚数部分 (例如 ``3+5j`` )。"
155+ "除了 :class:`int` 和 :class:`float`,Python 还支持其他数字类型 ,例如 "
156+ ":class:`~decimal.Decimal` 或 :class:`~fractions.Fraction`。Python 还内置支持 "
157+ ":ref:`复数 <typesnumeric>`,后缀 ``j`` 或 ``J`` 用于表示虚数部分 (例如 ``3+5j`` )。"
158158
159159#: ../../tutorial/introduction.rst:135
160160msgid "Strings"
0 commit comments