11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2018 , Python Software Foundation
2+ # Copyright (C) 2001-2019 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6+ # Translators:
7+ # Meng Du <alphanow@gmail.com>, 2019
8+ #
69#, fuzzy
710msgid ""
811msgstr ""
912"Project-Id-Version : Python 3.7\n "
1013"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56+0900\n "
12- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14+ "POT-Creation-Date : 2019-01-01 10:14+0900\n "
15+ "PO-Revision-Date : 2017-02-16 17:36+0000\n "
16+ "Last-Translator : Meng Du <alphanow@gmail.com>, 2019\n "
1317"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1418"MIME-Version : 1.0\n "
1519"Content-Type : text/plain; charset=UTF-8\n "
@@ -19,7 +23,7 @@ msgstr ""
1923
2024#: ../../c-api/iterator.rst:6
2125msgid "Iterator Objects"
22- msgstr ""
26+ msgstr "迭代器对象 "
2327
2428#: ../../c-api/iterator.rst:8
2529msgid ""
@@ -29,34 +33,36 @@ msgid ""
2933"sentinel value, calling the callable for each item in the sequence, and "
3034"ending the iteration when the sentinel value is returned."
3135msgstr ""
36+ "Python 提供了两个通用迭代器对象。 第一个是序列迭代器,它使用支持 :meth:`__getitem__` 方法的任意序列。 "
37+ "第二个使用可调用对象和一个 sentinel 值,为序列中的每个项调用可调用对象,并在返回 sentinel 值时结束迭代。"
3238
3339#: ../../c-api/iterator.rst:17
3440msgid ""
3541"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the"
3642" one-argument form of the :func:`iter` built-in function for built-in "
3743"sequence types."
38- msgstr ""
44+ msgstr ":c:func:`PySeqIter_New` 返回迭代器对象的类型对象和内置序列类型内置函数 :func:`iter` 的单参数形式。 "
3945
4046#: ../../c-api/iterator.rst:24
4147msgid "Return true if the type of *op* is :c:data:`PySeqIter_Type`."
42- msgstr ""
48+ msgstr "如果 *op* 的类型为 :c:data:`PySeqIter_Type` 则返回 true。 "
4349
4450#: ../../c-api/iterator.rst:29
4551msgid ""
4652"Return an iterator that works with a general sequence object, *seq*. The "
4753"iteration ends when the sequence raises :exc:`IndexError` for the "
4854"subscripting operation."
49- msgstr ""
55+ msgstr "返回一个与常规序列对象一起使用的迭代器 *seq* 。 当序列订阅操作引发:exc:`IndexError`时,迭代结束。 "
5056
5157#: ../../c-api/iterator.rst:36
5258msgid ""
5359"Type object for iterator objects returned by :c:func:`PyCallIter_New` and "
5460"the two-argument form of the :func:`iter` built-in function."
55- msgstr ""
61+ msgstr "由函数 :c:func:`PyCallIter_New` 和 :func:`iter` 内置函数的双参数形式返回的迭代器对象类型对象。 "
5662
5763#: ../../c-api/iterator.rst:42
5864msgid "Return true if the type of *op* is :c:data:`PyCallIter_Type`."
59- msgstr ""
65+ msgstr "如果 *op* 的类型为 :c:data:`PyCallIter_Type` 则返回 true。 "
6066
6167#: ../../c-api/iterator.rst:47
6268msgid ""
@@ -65,3 +71,5 @@ msgid ""
6571"should return the next item in the iteration. When *callable* returns a "
6672"value equal to *sentinel*, the iteration will be terminated."
6773msgstr ""
74+ "返回一个新的迭代器。 第一个参数 *callable* 可以是任何可以在没有参数的情况下调用的 Python "
75+ "可调用对象;每次调用都应该返回迭代中的下一个项目。 当 *callable* 返回等于 *sentinel* 的值时,迭代将终止。"
0 commit comments