@@ -527,7 +527,8 @@ msgid ""
527527"The ``@classmethod`` form is a function :term:`decorator` -- see the "
528528"description of function definitions in :ref:`function` for details."
529529msgstr ""
530- "``@classmethod`` 形式是一个函数 :term:`装饰器` - 参见 :ref:`function` 中关于函数定义的详细介绍。"
530+ "装饰器``@classmethod`` 形式是一个函数 :term:`decorator` -- 参见 :ref:`function` "
531+ "中关于函数定义的详细介绍。"
531532
532533#: ../../library/functions.rst:216
533534msgid ""
@@ -817,8 +818,8 @@ msgid ""
817818":func:`enumerate` returns a tuple containing a count (from *start* which "
818819"defaults to 0) and the values obtained from iterating over *iterable*."
819820msgstr ""
820- "返回一个枚举对象。*iterable* 必须是一个序列,或 :term:`迭代器 `,或其他支持迭代的对象。 :func:`enumerate` "
821- "返回的迭代器的 :meth:`~iterator.__next__` 方法返回一个元组,里面包含一个计数值(从 *start* 开始,默认为 "
821+ "返回一个枚举对象。*iterable* 必须是一个序列,或 :term:`iterator `,或其他支持迭代的对象。 :func:`enumerate`"
822+ " 返回的迭代器的 :meth:`~iterator.__next__` 方法返回一个元组,里面包含一个计数值(从 *start* 开始,默认为 "
822823"0)和通过迭代 *iterable* 获得的值。"
823824
824825#: ../../library/functions.rst:421
@@ -1301,7 +1302,7 @@ msgid ""
13011302"*sentinel*, :exc:`StopIteration` will be raised, otherwise the value will be"
13021303" returned."
13031304msgstr ""
1304- "返回一个 :term:`迭代器 ` 对象。根据是否存在第二个实参,第一个实参的解释是非常不同的。如果没有第二个实参,*object* "
1305+ "返回一个 :term:`iterator ` 对象。根据是否存在第二个实参,第一个实参的解释是非常不同的。如果没有第二个实参,*object* "
13051306"必须是支持迭代协议(有 :meth:`__iter__` 方法)的集合对象,或必须支持序列协议(有 :meth:`__getitem__` "
13061307"方法,且数字参数从 ``0`` 开始)。如果它不支持这些协议,会触发 :exc:`TypeError`。如果有第二个实参 *sentinel*,那么 "
13071308"*object* 必须是可调用的对象。这种情况下生成的迭代器,每次迭代调用它的 :meth:`~iterator.__next__` "
@@ -1375,8 +1376,8 @@ msgid ""
13751376"The largest item in the iterable is returned. If two or more positional "
13761377"arguments are provided, the largest of the positional arguments is returned."
13771378msgstr ""
1378- "如果只提供了一个 positional 实参 ,它必须是非空 :term:`可迭代对象`,返回可迭代对象中最大的元素;如果提供了两个及以上的 "
1379- "positional 实参,则返回最大的 positional 实参 。"
1379+ "如果只提供了一个位置参数 ,它必须是非空 "
1380+ ":term:`iterable`,返回可迭代对象中最大的元素;如果提供了两个及以上的位置参数,则返回最大的位置参数 。"
13801381
13811382#: ../../library/functions.rst:867 ../../library/functions.rst:901
13821383msgid ""
@@ -1422,8 +1423,7 @@ msgid ""
14221423"arguments are provided, the smallest of the positional arguments is "
14231424"returned."
14241425msgstr ""
1425- "如果只提供了一个 positional 实参,它必须是 :term:`可迭代对象`,返回可迭代对象中最小的元素;如果提供了两个及以上的 "
1426- "positional 实参,则返回最小的 positional 实参。"
1426+ "如果只提供了一个位置参数,它必须是 :term:`iterable`,返回可迭代对象中最小的元素;如果提供了两个及以上的位置参数,则返回最小的位置参数。"
14271427
14281428#: ../../library/functions.rst:907
14291429msgid ""
@@ -1480,7 +1480,7 @@ msgstr "如果要将整数转换为八进制字符串,并可选择有无“0o
14801480msgid ""
14811481"Open *file* and return a corresponding :term:`file object`. If the file "
14821482"cannot be opened, an :exc:`OSError` is raised."
1483- msgstr "打开 *file* 并返回对应的 :term:`文件对象 `。如果该文件不能打开,则触发 :exc:`OSError`。"
1483+ msgstr "打开 *file* 并返回对应的 :term:`file object `。如果该文件不能打开,则触发 :exc:`OSError`。"
14841484
14851485#: ../../library/functions.rst:967
14861486msgid ""
@@ -1583,7 +1583,7 @@ msgstr "``'U'``"
15831583
15841584#: ../../library/functions.rst:999
15851585msgid ":term:`universal newlines` mode (deprecated)"
1586- msgstr ":term:`通用换行 ` 模式(已弃用)"
1586+ msgstr ":term:`universal newlines ` 模式(已弃用)"
15871587
15881588#: ../../library/functions.rst:1002
15891589msgid ""
0 commit comments