Skip to content

Commit e95eb88

Browse files
committed
update python-newest.c-api--iter/id.po with latest contents from transifex
1 parent 5e5967e commit e95eb88

File tree

1 file changed

+56
-14
lines changed
  • python-newest.c-api--iter

1 file changed

+56
-14
lines changed

python-newest.c-api--iter/id.po

Lines changed: 56 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2021, Python Software Foundation
2+
# Copyright (C) 2001 Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
#, fuzzy
77
msgid ""
88
msgstr ""
9-
"Project-Id-Version: Python 3.9\n"
9+
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-01-07 05:06+0000\n"
12-
"PO-Revision-Date: 2017-02-16 17:36+0000\n"
13-
"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n"
11+
"POT-Creation-Date: 2025-05-09 14:19+0000\n"
12+
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
13+
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
@@ -27,20 +27,62 @@ msgstr ""
2727

2828
#: ../../c-api/iter.rst:12
2929
msgid ""
30-
"Return true if the object *o* supports the iterator protocol. This function"
31-
" always succeeds."
30+
"Return non-zero if the object *o* can be safely passed to "
31+
":c:func:`PyIter_NextItem` and ``0`` otherwise. This function always "
32+
"succeeds."
3233
msgstr ""
3334

3435
#: ../../c-api/iter.rst:18
3536
msgid ""
36-
"Return the next value from the iteration *o*. The object must be an "
37-
"iterator (it is up to the caller to check this). If there are no remaining "
38-
"values, returns ``NULL`` with no exception set. If an error occurs while "
39-
"retrieving the item, returns ``NULL`` and passes along the exception."
37+
"Return non-zero if the object *o* provides the :class:`AsyncIterator` "
38+
"protocol, and ``0`` otherwise. This function always succeeds."
4039
msgstr ""
4140

42-
#: ../../c-api/iter.rst:23
41+
#: ../../c-api/iter.rst:25
4342
msgid ""
44-
"To write a loop which iterates over an iterator, the C code should look "
45-
"something like this::"
43+
"Return ``1`` and set *item* to a :term:`strong reference` of the next value "
44+
"of the iterator *iter* on success. Return ``0`` and set *item* to ``NULL`` "
45+
"if there are no remaining values. Return ``-1``, set *item* to ``NULL`` and "
46+
"set an exception on error."
47+
msgstr ""
48+
49+
#: ../../c-api/iter.rst:34
50+
msgid ""
51+
"This is an older version of :c:func:`!PyIter_NextItem`, which is retained "
52+
"for backwards compatibility. Prefer :c:func:`PyIter_NextItem`."
53+
msgstr ""
54+
55+
#: ../../c-api/iter.rst:38
56+
msgid ""
57+
"Return the next value from the iterator *o*. The object must be an iterator"
58+
" according to :c:func:`PyIter_Check` (it is up to the caller to check this)."
59+
" If there are no remaining values, returns ``NULL`` with no exception set. "
60+
"If an error occurs while retrieving the item, returns ``NULL`` and passes "
61+
"along the exception."
62+
msgstr ""
63+
64+
#: ../../c-api/iter.rst:46
65+
msgid ""
66+
"The enum value used to represent different results of :c:func:`PyIter_Send`."
67+
msgstr ""
68+
69+
#: ../../c-api/iter.rst:53
70+
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
71+
msgstr ""
72+
73+
#: ../../c-api/iter.rst:55
74+
msgid ""
75+
"``PYGEN_RETURN`` if iterator returns. Return value is returned via "
76+
"*presult*."
77+
msgstr ""
78+
79+
#: ../../c-api/iter.rst:56
80+
msgid ""
81+
"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
82+
msgstr ""
83+
84+
#: ../../c-api/iter.rst:57
85+
msgid ""
86+
"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
87+
"``NULL``."
4688
msgstr ""

0 commit comments

Comments
 (0)