11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2021 , Python Software Foundation
2+ # Copyright (C) 2001-2025 , 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+ # Imaduddin A Majid <imaduddinamajid@gmail.com>, 2023
8+ # oon arfiandwi <oon.arfiandwi@gmail.com>, 2023
9+ # Ahmad Mustafid, 2024
10+ #
611#, fuzzy
712msgid ""
813msgstr ""
9- "Project-Id-Version : Python 3.9 \n "
14+ "Project-Id-Version : Python 3.13 \n "
1015"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 "
16+ "POT-Creation-Date : 2025-04-25 14:19+0000\n "
17+ "PO-Revision-Date : 2021-06-28 00:49+0000\n "
18+ "Last-Translator : Ahmad Mustafid, 2024\n "
19+ "Language-Team : Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n "
1420"MIME-Version : 1.0\n "
1521"Content-Type : text/plain; charset=UTF-8\n "
1622"Content-Transfer-Encoding : 8bit\n "
@@ -50,82 +56,98 @@ msgstr ""
5056#: ../../c-api/list.rst:40
5157msgid ""
5258"If *len* is greater than zero, the returned list object's items are set to "
53- "``NULL``. Thus you cannot use abstract API functions such as "
54- ":c:func:`PySequence_SetItem` or expose the object to Python code before "
55- "setting all items to a real object with :c:func:`PyList_SetItem`."
59+ "``NULL``. Thus you cannot use abstract API functions such as "
60+ ":c:func:`PySequence_SetItem` or expose the object to Python code before "
61+ "setting all items to a real object with :c:func:`PyList_SetItem` or "
62+ ":c:func:`PyList_SET_ITEM()`. The following APIs are safe APIs before the "
63+ "list is fully initialized: :c:func:`PyList_SetItem()` and "
64+ ":c:func:`PyList_SET_ITEM()`."
5665msgstr ""
5766
58- #: ../../c-api/list.rst:50
67+ #: ../../c-api/list.rst:53
5968msgid ""
6069"Return the length of the list object in *list*; this is equivalent to "
6170"``len(list)`` on a list object."
6271msgstr ""
6372
64- #: ../../c-api/list.rst:56
65- msgid "Macro form of :c:func:`PyList_Size` without error checking."
73+ #: ../../c-api/list.rst:59
74+ msgid "Similar to :c:func:`PyList_Size`, but without error checking."
6675msgstr ""
6776
68- #: ../../c-api/list.rst:61
77+ #: ../../c-api/list.rst:64
6978msgid ""
7079"Return the object at position *index* in the list pointed to by *list*. The"
7180" position must be non-negative; indexing from the end of the list is not "
72- "supported. If *index* is out of bounds (<0 or >=len(list)), return ``NULL`` "
73- " and set an :exc:`IndexError` exception."
81+ "supported. If *index* is out of bounds (:code:` <0 or >=len(list)` ), return "
82+ "``NULL`` and set an :exc:`IndexError` exception."
7483msgstr ""
7584
76- #: ../../c-api/list.rst:69
77- msgid "Macro form of :c:func:`PyList_GetItem` without error checking."
85+ #: ../../c-api/list.rst:74
86+ msgid ""
87+ "Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` "
88+ "instead of a :term:`strong reference`."
7889msgstr ""
7990
80- #: ../../c-api/list.rst:74
91+ #: ../../c-api/list.rst:80
92+ msgid "Similar to :c:func:`PyList_GetItem`, but without error checking."
93+ msgstr ""
94+
95+ #: ../../c-api/list.rst:85
8196msgid ""
8297"Set the item at index *index* in list to *item*. Return ``0`` on success. "
8398"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
8499"exception."
85100msgstr ""
86101
87- #: ../../c-api/list.rst:80
102+ #: ../../c-api/list.rst:91
88103msgid ""
89104"This function \" steals\" a reference to *item* and discards a reference to "
90105"an item already in the list at the affected position."
91106msgstr ""
92107
93- #: ../../c-api/list.rst:86
108+ #: ../../c-api/list.rst:97
94109msgid ""
95110"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
96111"normally only used to fill in new lists where there is no previous content."
97112msgstr ""
98113
99- #: ../../c-api/list.rst:91
114+ #: ../../c-api/list.rst:100
115+ msgid ""
116+ "Bounds checking is performed as an assertion if Python is built in "
117+ ":ref:`debug mode <debug-build>` or :option:`with assertions <--with-"
118+ "assertions>`."
119+ msgstr ""
120+
121+ #: ../../c-api/list.rst:106
100122msgid ""
101123"This macro \" steals\" a reference to *item*, and, unlike "
102124":c:func:`PyList_SetItem`, does *not* discard a reference to any item that is"
103125" being replaced; any reference in *list* at position *i* will be leaked."
104126msgstr ""
105127
106- #: ../../c-api/list.rst:99
128+ #: ../../c-api/list.rst:114
107129msgid ""
108130"Insert the item *item* into list *list* in front of index *index*. Return "
109131"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
110132"Analogous to ``list.insert(index, item)``."
111133msgstr ""
112134
113- #: ../../c-api/list.rst:106
135+ #: ../../c-api/list.rst:121
114136msgid ""
115137"Append the object *item* at the end of list *list*. Return ``0`` if "
116138"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
117139"to ``list.append(item)``."
118140msgstr ""
119141
120- #: ../../c-api/list.rst:113
142+ #: ../../c-api/list.rst:128
121143msgid ""
122144"Return a list of the objects in *list* containing the objects *between* "
123145"*low* and *high*. Return ``NULL`` and set an exception if unsuccessful. "
124146"Analogous to ``list[low:high]``. Indexing from the end of the list is not "
125147"supported."
126148msgstr ""
127149
128- #: ../../c-api/list.rst:120
150+ #: ../../c-api/list.rst:135
129151msgid ""
130152"Set the slice of *list* between *low* and *high* to the contents of "
131153"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
@@ -134,20 +156,66 @@ msgid ""
134156"list is not supported."
135157msgstr ""
136158
137- #: ../../c-api/list.rst:129
159+ #: ../../c-api/list.rst:144
160+ msgid ""
161+ "Extend *list* with the contents of *iterable*. This is the same as "
162+ "``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and "
163+ "analogous to ``list.extend(iterable)`` or ``list += iterable``."
164+ msgstr ""
165+
166+ #: ../../c-api/list.rst:148
167+ msgid ""
168+ "Raise an exception and return ``-1`` if *list* is not a :class:`list` "
169+ "object. Return 0 on success."
170+ msgstr ""
171+
172+ #: ../../c-api/list.rst:156
173+ msgid ""
174+ "Remove all items from *list*. This is the same as ``PyList_SetSlice(list, "
175+ "0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del "
176+ "list[:]``."
177+ msgstr ""
178+
179+ #: ../../c-api/list.rst:160
180+ msgid ""
181+ "Raise an exception and return ``-1`` if *list* is not a :class:`list` "
182+ "object. Return 0 on success."
183+ msgstr ""
184+
185+ #: ../../c-api/list.rst:168
138186msgid ""
139187"Sort the items of *list* in place. Return ``0`` on success, ``-1`` on "
140188"failure. This is equivalent to ``list.sort()``."
141189msgstr ""
142190
143- #: ../../c-api/list.rst:135
191+ #: ../../c-api/list.rst:174
144192msgid ""
145193"Reverse the items of *list* in place. Return ``0`` on success, ``-1`` on "
146194"failure. This is the equivalent of ``list.reverse()``."
147195msgstr ""
148196
149- #: ../../c-api/list.rst:143
197+ #: ../../c-api/list.rst:182
150198msgid ""
151199"Return a new tuple object containing the contents of *list*; equivalent to "
152200"``tuple(list)``."
153201msgstr ""
202+
203+ #: ../../c-api/list.rst:8
204+ msgid "object"
205+ msgstr "objek"
206+
207+ #: ../../c-api/list.rst:8
208+ msgid "list"
209+ msgstr "list"
210+
211+ #: ../../c-api/list.rst:51 ../../c-api/list.rst:180
212+ msgid "built-in function"
213+ msgstr "fungsi bawaan"
214+
215+ #: ../../c-api/list.rst:51
216+ msgid "len"
217+ msgstr ""
218+
219+ #: ../../c-api/list.rst:180
220+ msgid "tuple"
221+ msgstr ""
0 commit comments