77msgstr ""
88"Project-Id-Version :Python 3.10\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2021-10-26 16:47 +0000\n "
10+ "POT-Creation-Date :2021-11-23 00:09 +0000\n "
1111"PO-Revision-Date :2015-12-09 17:51+0000\n "
1212"Last-Translator :Liang-Bo Wang <me@liang2.tw>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -28,8 +28,8 @@ msgstr ""
2828
2929#: ../../c-api/iter.rst:12
3030msgid ""
31- "Return non-zero if the object *o*supports the iterator protocol, and ``0`` "
32- "otherwise. This function always succeeds."
31+ "Return non-zero if the object *o*can be safely passed to :c:func: "
32+ "`PyIter_Next`, and ``0`` otherwise. This function always succeeds."
3333msgstr ""
3434
3535#: ../../c-api/iter.rst:17
@@ -40,38 +40,39 @@ msgstr ""
4040
4141#: ../../c-api/iter.rst:24
4242msgid ""
43- "Return the next value from the iteration *o*. The object must be an "
44- "iterator (it is up to the caller to check this). If there are no remaining "
45- "values, returns ``NULL`` with no exception set. If an error occurs while "
46- "retrieving the item, returns ``NULL`` and passes along the exception."
43+ "Return the next value from the iterator *o*. The object must be an iterator "
44+ "according to :c:func:`PyIter_Check` (it is up to the caller to check this). "
45+ "If there are no remaining values, returns ``NULL`` with no exception set. If "
46+ "an error occurs while retrieving the item, returns ``NULL`` and passes along "
47+ "the exception."
4748msgstr ""
4849
49- #: ../../c-api/iter.rst:29
50+ #: ../../c-api/iter.rst:30
5051msgid ""
5152"To write a loop which iterates over an iterator, the C code should look "
5253"something like this::"
5354msgstr ""
5455
55- #: ../../c-api/iter.rst:58
56+ #: ../../c-api/iter.rst:59
5657msgid ""
5758"The enum value used to represent different results of :c:func:`PyIter_Send`."
5859msgstr ""
5960
60- #: ../../c-api/iter.rst:65
61+ #: ../../c-api/iter.rst:66
6162msgid "Sends the *arg* value into the iterator *iter*. Returns:"
6263msgstr ""
6364
64- #: ../../c-api/iter.rst:67
65+ #: ../../c-api/iter.rst:68
6566msgid ""
6667"``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
6768msgstr ""
6869
69- #: ../../c-api/iter.rst:68
70+ #: ../../c-api/iter.rst:69
7071msgid ""
7172"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
7273msgstr ""
7374
74- #: ../../c-api/iter.rst:69
75+ #: ../../c-api/iter.rst:70
7576msgid ""
7677"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
7778"``NULL``."