@@ -5667,45 +5667,46 @@ msgstr "语言实现为部分对象类型添加了一些特殊的只读属性,
56675667msgid ""
56685668"A dictionary or other mapping object used to store an object's (writable) "
56695669"attributes."
5670- msgstr ""
5670+ msgstr "一个字典或其他类型的映射对象,用于存储对象的(可写)属性。 "
56715671
56725672#: ../../library/stdtypes.rst:4684
56735673msgid "The class to which a class instance belongs."
5674- msgstr ""
5674+ msgstr "类实例所属的类。 "
56755675
56765676#: ../../library/stdtypes.rst:4689
56775677msgid "The tuple of base classes of a class object."
5678- msgstr ""
5678+ msgstr "由类对象的基类所组成的元组。 "
56795679
56805680#: ../../library/stdtypes.rst:4694
56815681msgid ""
56825682"The name of the class, function, method, descriptor, or generator instance."
5683- msgstr ""
5683+ msgstr "类、函数、方法、描述器或生成器实例的名称。 "
56845684
56855685#: ../../library/stdtypes.rst:4700
56865686msgid ""
56875687"The :term:`qualified name` of the class, function, method, descriptor, or "
56885688"generator instance."
5689- msgstr ""
5689+ msgstr "类、函数、方法、描述器或生成器实例的 :term:`qualified name`。 "
56905690
56915691#: ../../library/stdtypes.rst:4708
56925692msgid ""
56935693"This attribute is a tuple of classes that are considered when looking for "
56945694"base classes during method resolution."
5695- msgstr ""
5695+ msgstr "此属性是由类组成的元组,在方法解析期间会基于它来查找基类。 "
56965696
56975697#: ../../library/stdtypes.rst:4714
56985698msgid ""
56995699"This method can be overridden by a metaclass to customize the method "
57005700"resolution order for its instances. It is called at class instantiation, "
57015701"and its result is stored in :attr:`~class.__mro__`."
57025702msgstr ""
5703+ "此方法可被一个元类来重载,以为其实例定制方法解析顺序。 它会在类实例化时被调用,其结果存储于 :attr:`~class.__mro__` 之中。"
57035704
57045705#: ../../library/stdtypes.rst:4721
57055706msgid ""
57065707"Each class keeps a list of weak references to its immediate subclasses. "
57075708"This method returns a list of all those references still alive. Example::"
5708- msgstr ""
5709+ msgstr "每个类会保存由对其直接子类的弱引用组成的列表。 此方法将返回一个由仍然存在的所有此类引用组成的列表。 例如:: "
57095710
57105711#: ../../library/stdtypes.rst:4730
57115712msgid "Footnotes"
@@ -5715,27 +5716,29 @@ msgstr "脚注"
57155716msgid ""
57165717"Additional information on these special methods may be found in the Python "
57175718"Reference Manual (:ref:`customization`)."
5718- msgstr ""
5719+ msgstr "有关这些特殊方法的额外信息可参看 Python 参考指南 (:ref:`customization`)。 "
57195720
57205721#: ../../library/stdtypes.rst:4734
57215722msgid ""
57225723"As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``,"
57235724" and similarly for tuples."
5724- msgstr ""
5725+ msgstr "作为结果,列表 ``[1, 2]`` 与 ``[1.0, 2.0]`` 是相等的,元组的情况也类似。 "
57255726
57265727#: ../../library/stdtypes.rst:4737
57275728msgid "They must have since the parser can't tell the type of the operands."
5728- msgstr ""
5729+ msgstr "它们必须如此,因为解析器无法区分这些操作数的类型。 "
57295730
57305731#: ../../library/stdtypes.rst:4739
57315732msgid ""
57325733"Cased characters are those with general category property being one of "
57335734"\" Lu\" (Letter, uppercase), \" Ll\" (Letter, lowercase), or \" Lt\" (Letter, "
57345735"titlecase)."
57355736msgstr ""
5737+ "区分大小写的字符是指所属一般类别属性为 \" Lu\" (Letter, uppercase), \" Ll\" (Letter, lowercase) 或"
5738+ " \" Lt\" (Letter, titlecase) 之一的字符。"
57365739
57375740#: ../../library/stdtypes.rst:4742
57385741msgid ""
57395742"To format only a tuple you should therefore provide a singleton tuple whose "
57405743"only element is the tuple to be formatted."
5741- msgstr ""
5744+ msgstr "要格式化单独一个元组,那么你应当提供一个单例元组,其唯一的元素就是要被格式化的元组。 "
0 commit comments