@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.8\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2019-09-26 11:33 +0000\n "
22+ "POT-Creation-Date : 2019-11-13 11:56 +0000\n "
2323"PO-Revision-Date : 2017-02-16 23:11+0000\n "
2424"
Last-Translator :
Freesand Leo <[email protected] >, 2019\n "
2525"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -490,14 +490,11 @@ msgstr "另见 :ref:`binaryseq`,:ref:`typebytes` 和 :ref:`bytes-methods`。"
490490#: ../../library/functions.rst:183
491491msgid ""
492492"Return :const:`True` if the *object* argument appears callable, "
493- ":const:`False` if not. If this returns true , it is still possible that a "
494- "call fails, but if it is false , calling *object* will never succeed. Note "
495- "that classes are callable (calling a class returns a new instance); "
493+ ":const:`False` if not. If this returns ``True`` , it is still possible that "
494+ "a call fails, but if it is ``False`` , calling *object* will never succeed. "
495+ "Note that classes are callable (calling a class returns a new instance); "
496496"instances are callable if their class has a :meth:`__call__` method."
497497msgstr ""
498- "如果实参 *object* 是可调用的,返回 :const:`True`,否则返回 "
499- ":const:`False`。如果返回真,调用仍可能会失败;但如果返回假,则调用 *object* "
500- "肯定会失败。注意类是可调用的(调用类会返回一个新的实例)。如果实例的类有 :meth:`__call__` 方法,则它是可调用。"
501498
502499#: ../../library/functions.rst:189
503500msgid ""
@@ -1402,30 +1399,23 @@ msgstr "如果 :meth:`__int__` 未定义则回退至 :meth:`__index__`。"
14021399
14031400#: ../../library/functions.rst:841
14041401msgid ""
1405- "Return true if the *object* argument is an instance of the *classinfo* "
1402+ "Return ``True`` if the *object* argument is an instance of the *classinfo* "
14061403"argument, or of a (direct, indirect or :term:`virtual <abstract base "
14071404"class>`) subclass thereof. If *object* is not an object of the given type, "
1408- "the function always returns false . If *classinfo* is a tuple of type objects "
1409- " (or recursively, other such tuples), return true if *object* is an instance "
1410- " of any of the types. If *classinfo* is not a type or tuple of types and "
1411- "such tuples, a :exc:`TypeError` exception is raised."
1405+ "the function always returns ``False`` . If *classinfo* is a tuple of type "
1406+ "objects (or recursively, other such tuples), return ``True`` if *object* is "
1407+ "an instance of any of the types. If *classinfo* is not a type or tuple of "
1408+ "types and such tuples, a :exc:`TypeError` exception is raised."
14121409msgstr ""
1413- "如果 *object* 实参是 *classinfo* 实参的实例,或者是(直接、间接或 :term:`虚拟<abstract base "
1414- "class>`)子类的实例,则返回 true。如果 *object* 不是给定类型的对象,函数始终返回 false。如果 *classinfo* "
1415- "是对象类型(或多个递归元组)的元组,如果 *object* 是其中的任何一个的实例则返回 true。 如果 *classinfo* "
1416- "既不是类型,也不是类型元组或类型的递归元组,那么会触发 :exc:`TypeError` 异常。"
14171410
14181411#: ../../library/functions.rst:853
14191412msgid ""
1420- "Return true if *class* is a subclass (direct, indirect or :term:`virtual "
1421- "<abstract base class>`) of *classinfo*. A class is considered a subclass of "
1422- " itself. *classinfo* may be a tuple of class objects, in which case every "
1413+ "Return ``True`` if *class* is a subclass (direct, indirect or :term:`virtual"
1414+ " <abstract base class>`) of *classinfo*. A class is considered a subclass "
1415+ "of itself. *classinfo* may be a tuple of class objects, in which case every "
14231416"entry in *classinfo* will be checked. In any other case, a :exc:`TypeError` "
14241417"exception is raised."
14251418msgstr ""
1426- "如果 *class* 是 *classinfo* 的子类(直接、间接或 :term:`虚拟<abstract base class>` 的),则返回 "
1427- "true。*classinfo* 可以是类对象的元组,此时 *classinfo* 中的每个元素都会被检查。其他情况,会触发 "
1428- ":exc:`TypeError` 异常。"
14291419
14301420#: ../../library/functions.rst:862
14311421msgid ""
0 commit comments