@@ -64,8 +64,8 @@ msgid ""
6464"(arithmetic operators, subscripting etc.) can be redefined for class "
6565"instances."
6666msgstr ""
67- "在C++术语中,通常类成员(包括数据成员)是*public*(除了见下文 :ref:`tut-private` ),所有成员函数都是*virtual "
68- "*。与在Modula-"
67+ "在C++术语中,通常类成员(包括数据成员)是 *public* (除了见下文 :ref:`tut-private` ),所有成员函数都是 "
68+ "*virtual* 。与在Modula-"
6969"3中一样,没有用于从其方法引用对象成员的简写:方法函数使用表示对象的显式第一个参数声明,该参数由调用隐式提供。与Smalltalk一样,类本身也是对象。这为导入和重命名提供了语义。与C"
7070"++和Modula-"
7171"3不同,内置类型可以用作用户扩展的基类。此外,与C++一样,大多数具有特殊语法(算术运算符,下标等)的内置运算符都可以重新定义为类实例。"
@@ -78,7 +78,7 @@ msgid ""
7878"but I expect that few readers have heard of it.)"
7979msgstr ""
8080" (由于缺乏普遍接受的术语来讨论类,我偶尔会使用Smalltalk和C ++术语。我会使用Modula-3术语,因为它的面向对象语义比C "
81- "++更接近Python,但我r认为读者很少听说过 。)"
81+ "++更接近Python,但我认为读者很少听说过 。)"
8282
8383#: ../../tutorial/classes.rst:43
8484msgid "A Word About Names and Objects"
@@ -386,7 +386,7 @@ msgstr ""
386386msgid ""
387387"creates a new *instance* of the class and assigns this object to the local "
388388"variable ``x``."
389- msgstr "创建类的新*实例*并将此对象分配给局部变量 ``x``。"
389+ msgstr "创建类的新 *实例* 并将此对象分配给局部变量 ``x``。"
390390
391391#: ../../tutorial/classes.rst:291
392392msgid ""
@@ -470,7 +470,7 @@ msgstr ""
470470
471471#: ../../tutorial/classes.rst:374
472472msgid "will continue to print ``hello world`` until the end of time."
473- msgstr "将继续打印 ``hello world`` ,直到时间结束 。"
473+ msgstr "将继续打印 ``hello world``,直到结束 。"
474474
475475#: ../../tutorial/classes.rst:376
476476msgid ""
@@ -603,7 +603,7 @@ msgstr ""
603603msgid ""
604604"Methods may call other methods by using method attributes of the ``self`` "
605605"argument::"
606- msgstr "方法可以通过使用``self``参数的方法属性调用其他方法::"
606+ msgstr "方法可以通过使用 ``self`` 参数的方法属性调用其他方法::"
607607
608608#: ../../tutorial/classes.rst:546
609609msgid ""
@@ -622,7 +622,7 @@ msgstr ""
622622msgid ""
623623"Each value is an object, and therefore has a *class* (also called its "
624624"*type*). It is stored as ``object.__class__``."
625- msgstr "每个值都是一个对象,因此具有 *class*(也称为*type*)。它存储为 ``object .__ class__``。"
625+ msgstr "每个值都是一个对象,因此具有 *class* (也称为 *type*)。它存储在 ``object .__ class__``。"
626626
627627#: ../../tutorial/classes.rst:563
628628msgid "Inheritance"
0 commit comments