@@ -330,14 +330,14 @@ msgid ""
330330"changed *scope_test*\\ 's binding of *spam*, and the :keyword:`global` "
331331"assignment changed the module-level binding."
332332msgstr ""
333- "请注意 * 局部* 赋值(这是默认状态)不会改变 *scope_test* 对 *spam* 的绑定。 :keyword:`nonlocal` 赋值会改变 "
334- " *scope_test* 对 *spam* 的绑定,而 :keyword:`global` 赋值会改变模块层级的绑定。"
333+ "注意,** 局部** 赋值(这是默认状态)不会改变 *scope_test* 对 *spam* 的绑定。 :keyword:`nonlocal` "
334+ "赋值会改变 *scope_test* 对 *spam* 的绑定,而 :keyword:`global` 赋值会改变模块层级的绑定。"
335335
336336#: ../../tutorial/classes.rst:205
337337msgid ""
338338"You can also see that there was no previous binding for *spam* before the "
339339":keyword:`global` assignment."
340- msgstr "您还可以发现在 :keyword:`global` 赋值之前没有 *spam* 的绑定。"
340+ msgstr "而且, :keyword:`global` 赋值前没有 *spam* 的绑定。"
341341
342342#: ../../tutorial/classes.rst:212
343343msgid "A First Look at Classes"
@@ -347,15 +347,15 @@ msgstr "初探类"
347347msgid ""
348348"Classes introduce a little bit of new syntax, three new object types, and "
349349"some new semantics."
350- msgstr "类引入了一些新语法,三种新对象类型和一些新语义 。"
350+ msgstr "类引入了一点新语法,三种新的对象类型和一些新语义 。"
351351
352352#: ../../tutorial/classes.rst:221
353353msgid "Class Definition Syntax"
354354msgstr "类定义语法"
355355
356356#: ../../tutorial/classes.rst:223
357357msgid "The simplest form of class definition looks like this::"
358- msgstr "最简单的类定义看起来像这样:: "
358+ msgstr "最简单的类定义形式如下: "
359359
360360#: ../../tutorial/classes.rst:232
361361msgid ""
@@ -364,8 +364,8 @@ msgid ""
364364"a class definition in a branch of an :keyword:`if` statement, or inside a "
365365"function.)"
366366msgstr ""
367- "类定义与函数定义 (:keyword:`def` 语句) 一样必须被执行才会起作用。 (你可以尝试将类定义放在 :keyword:`if` "
368- "语句的一个分支或是函数的内部。) "
367+ "与函数定义 (:keyword:`def` 语句) 一样,类定义必须先执行才能生效。把类定义放在 :keyword:`if` "
368+ "语句的分支里或函数内部试试。 "
369369
370370#: ../../tutorial/classes.rst:236
371371msgid ""
@@ -375,8 +375,8 @@ msgid ""
375375" normally have a peculiar form of argument list, dictated by the calling "
376376"conventions for methods --- again, this is explained later."
377377msgstr ""
378- "在实践中,类定义内的语句通常都是函数定义,但也允许有其他语句,有时还很有用 --- 我们会稍后再回来说明这个问题。 "
379- "在类内部的函数定义通常具有一种特别形式的参数列表,这是方法调用的约定规范所指明的 --- 这个问题也将在稍后再说明 。"
378+ "在实践中,类定义内的语句通常都是函数定义,但也可以是其他语句。这部分内容稍后再讨论。类里的函数定义一般是特殊的参数列表,这是由方法调用的约定规范所指明的 "
379+ " --- 同样,稍后再解释 。"
380380
381381#: ../../tutorial/classes.rst:242
382382msgid ""
0 commit comments