11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2019, 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#
6+ # Translators:
7+ # Ahmad Mustafid, 2024
8+ #
69#, fuzzy
710msgid ""
811msgstr ""
9- "Project-Id-Version : Python 3.8 \n "
12+ "Project-Id-Version : Python 3.14 \n "
1013"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-10-31 11:48+0000\n "
12- "PO-Revision-Date : 2017-02-16 17:38+0000\n "
13- "Language-Team : Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n "
14+ "POT-Creation-Date : 2025-05-09 14:19+0000\n "
15+ "PO-Revision-Date : 2021-06-28 00:50+0000\n "
16+ "Last-Translator : Ahmad Mustafid, 2024\n "
17+ "Language-Team : Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n "
1418"MIME-Version : 1.0\n "
1519"Content-Type : text/plain; charset=UTF-8\n "
1620"Content-Transfer-Encoding : 8bit\n "
@@ -23,11 +27,11 @@ msgstr ""
2327
2428#: ../../c-api/sequence.rst:11
2529msgid ""
26- "Return ``1`` if the object provides sequence protocol, and ``0`` otherwise. "
27- "Note that it returns ``1`` for Python classes with a :meth:`__getitem__` "
28- "method unless they are :class:`dict` subclasses since in general case it is "
29- "impossible to determine what the type of keys it supports. This function "
30- "always succeeds."
30+ "Return ``1`` if the object provides the sequence protocol, and ``0`` "
31+ "otherwise. Note that it returns ``1`` for Python classes with a "
32+ ":meth:`~object.__getitem__` method, unless they are :class:`dict` "
33+ "subclasses, since in general it is impossible to determine what type of keys"
34+ " the class supports. This function always succeeds."
3135msgstr ""
3236
3337#: ../../c-api/sequence.rst:23
@@ -85,8 +89,8 @@ msgstr ""
8589
8690#: ../../c-api/sequence.rst:72
8791msgid ""
88- "If *v* is ``NULL``, the element is deleted, however this feature is "
89- "deprecated in favour of using :c:func:`PySequence_DelItem`."
92+ "If *v* is ``NULL``, the element is deleted, but this feature is deprecated "
93+ "in favour of using :c:func:`PySequence_DelItem`."
9094msgstr ""
9195
9296#: ../../c-api/sequence.rst:78
@@ -123,80 +127,102 @@ msgid ""
123127msgstr ""
124128
125129#: ../../c-api/sequence.rst:110
130+ msgid "Alias for :c:func:`PySequence_Contains`."
131+ msgstr ""
132+
133+ #: ../../c-api/sequence.rst:112
134+ msgid ""
135+ "The function is :term:`soft deprecated` and should no longer be used to "
136+ "write new code."
137+ msgstr ""
138+
139+ #: ../../c-api/sequence.rst:119
126140msgid ""
127141"Return the first index *i* for which ``o[i] == value``. On error, return "
128142"``-1``. This is equivalent to the Python expression ``o.index(value)``."
129143msgstr ""
130144
131- #: ../../c-api/sequence.rst:116
145+ #: ../../c-api/sequence.rst:125
132146msgid ""
133147"Return a list object with the same contents as the sequence or iterable *o*,"
134148" or ``NULL`` on failure. The returned list is guaranteed to be new. This "
135149"is equivalent to the Python expression ``list(o)``."
136150msgstr ""
137151
138- #: ../../c-api/sequence.rst:125
152+ #: ../../c-api/sequence.rst:134
139153msgid ""
140154"Return a tuple object with the same contents as the sequence or iterable "
141155"*o*, or ``NULL`` on failure. If *o* is a tuple, a new reference will be "
142156"returned, otherwise a tuple will be constructed with the appropriate "
143157"contents. This is equivalent to the Python expression ``tuple(o)``."
144158msgstr ""
145159
146- #: ../../c-api/sequence.rst:133
160+ #: ../../c-api/sequence.rst:142
147161msgid ""
148162"Return the sequence or iterable *o* as an object usable by the other "
149163"``PySequence_Fast*`` family of functions. If the object is not a sequence or"
150164" iterable, raises :exc:`TypeError` with *m* as the message text. Returns "
151165"``NULL`` on failure."
152166msgstr ""
153167
154- #: ../../c-api/sequence.rst:138
168+ #: ../../c-api/sequence.rst:147
155169msgid ""
156170"The ``PySequence_Fast*`` functions are thus named because they assume *o* is"
157171" a :c:type:`PyTupleObject` or a :c:type:`PyListObject` and access the data "
158172"fields of *o* directly."
159173msgstr ""
160174
161- #: ../../c-api/sequence.rst:142
175+ #: ../../c-api/sequence.rst:151
162176msgid ""
163177"As a CPython implementation detail, if *o* is already a sequence or list, it"
164178" will be returned."
165179msgstr ""
166180
167- #: ../../c-api/sequence.rst:148
181+ #: ../../c-api/sequence.rst:157
168182msgid ""
169183"Returns the length of *o*, assuming that *o* was returned by "
170184":c:func:`PySequence_Fast` and that *o* is not ``NULL``. The size can also "
171- "be gotten by calling :c:func:`PySequence_Size` on *o*, but "
185+ "be retrieved by calling :c:func:`PySequence_Size` on *o*, but "
172186":c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a "
173187"list or tuple."
174188msgstr ""
175189
176- #: ../../c-api/sequence.rst:157
190+ #: ../../c-api/sequence.rst:166
177191msgid ""
178192"Return the *i*\\ th element of *o*, assuming that *o* was returned by "
179193":c:func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within "
180194"bounds."
181195msgstr ""
182196
183- #: ../../c-api/sequence.rst:163
197+ #: ../../c-api/sequence.rst:172
184198msgid ""
185199"Return the underlying array of PyObject pointers. Assumes that *o* was "
186200"returned by :c:func:`PySequence_Fast` and *o* is not ``NULL``."
187201msgstr ""
188202
189- #: ../../c-api/sequence.rst:166
203+ #: ../../c-api/sequence.rst:175
190204msgid ""
191205"Note, if a list gets resized, the reallocation may relocate the items array."
192206" So, only use the underlying array pointer in contexts where the sequence "
193207"cannot change."
194208msgstr ""
195209
196- #: ../../c-api/sequence.rst:173
210+ #: ../../c-api/sequence.rst:182
197211msgid ""
198212"Return the *i*\\ th element of *o* or ``NULL`` on failure. Faster form of "
199213":c:func:`PySequence_GetItem` but without checking that "
200214":c:func:`PySequence_Check` on *o* is true and without adjustment for "
201215"negative indices."
202216msgstr ""
217+
218+ #: ../../c-api/sequence.rst:21 ../../c-api/sequence.rst:132
219+ msgid "built-in function"
220+ msgstr "fungsi bawaan"
221+
222+ #: ../../c-api/sequence.rst:21
223+ msgid "len"
224+ msgstr ""
225+
226+ #: ../../c-api/sequence.rst:132
227+ msgid "tuple"
228+ msgstr ""
0 commit comments