@@ -318,7 +318,7 @@ msgid ""
318318"Return ``True`` if any element of the *iterable* is true. If the iterable "
319319"is empty, return ``False``. Equivalent to::"
320320msgstr ""
321- "返回 ``True`` 如果 *iterable* 的任一元素为 True。如果 iterable 为空,返回 ``False``。等价于::"
321+ "返回 ``True`` , 如果 *iterable* 的任一元素为 True。如果 iterable 为空,返回 ``False``。等价于::"
322322
323323#: ../../library/functions.rst:76
324324msgid ""
@@ -327,6 +327,8 @@ msgid ""
327327":func:`repr` using ``\\ x``, ``\\ u`` or ``\\ U`` escapes. This generates a "
328328"string similar to that returned by :func:`repr` in Python 2."
329329msgstr ""
330+ "就像函数 :func:`repr`,返回一个对象可打印的字符串,但是 :func:`repr` 返回的字符串中非 ASCII 编码的字符,会使用 "
331+ "``\\ x``、``\\ u`` 和 ``\\ U`` 来转义。生成的字符串和 Python 2 的 :func:`repr` 返回的结果相似。"
330332
331333#: ../../library/functions.rst:84
332334msgid ""
@@ -335,17 +337,19 @@ msgid ""
335337"object, it has to define an :meth:`__index__` method that returns an "
336338"integer. Some examples:"
337339msgstr ""
340+ "将一个整数转变为一个前缀为“0b”的二进制字符串。结果是一个合法的 Python 表达式。如果 *x* 不是 Python 的 :class:`int`"
341+ " 对象,那它需要定义 :meth:`__index__` 方法返回一个整数。一些例子:"
338342
339343#: ../../library/functions.rst:94
340344msgid ""
341345"If prefix \" 0b\" is desired or not, you can use either of the following "
342346"ways."
343- msgstr ""
347+ msgstr "如果不一定需要前缀“0b”,还可以使用如下的方法。 "
344348
345349#: ../../library/functions.rst:101 ../../library/functions.rst:678
346350#: ../../library/functions.rst:935
347351msgid "See also :func:`format` for more information."
348- msgstr ""
352+ msgstr "见 :func:`format` 查看更多信息。 "
349353
350354#: ../../library/functions.rst:106
351355msgid ""
@@ -356,6 +360,10 @@ msgid ""
356360" It cannot be subclassed further. Its only instances are ``False`` and "
357361"``True`` (see :ref:`bltin-boolean-values`)."
358362msgstr ""
363+ "返回一个布尔值,``True`` 或者 ``False``。 *x* 使用标准的 :ref:`真值测试过程 <truth>` 来转换。如果 *x* "
364+ "是假的或者被省略,返回 ``False``;其他情况返回 ``True``。:class:`bool` 类 :class:`int` 的子类(见 "
365+ ":ref:`typesnumeric`)。其他类不能继承 :class:`bool` 类。它只有 ``False`` 和 ``True`` 两个实例(见"
366+ " :ref:`bltin-boolean-values`)。"
359367
360368#: ../../library/functions.rst:120
361369msgid ""
0 commit comments