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# Translators:
7- # oon arfiandwi <oon.arfiandwi@gmail.com>, 2019
7+ # oon arfiandwi <oon.arfiandwi@gmail.com>, 2024
88#
99#, fuzzy
1010msgid ""
1111msgstr ""
12- "Project-Id-Version : Python 3.9 \n "
12+ "Project-Id-Version : Python 3.14 \n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2021-01-07 05:06 +0000\n "
15- "PO-Revision-Date : 2017-02-16 17:33 +0000\n "
16- "Last-Translator : oon arfiandwi <oon.arfiandwi@gmail.com>, 2019 \n "
17- "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:47 +0000\n "
16+ "Last-Translator : oon arfiandwi <oon.arfiandwi@gmail.com>, 2024 \n "
17+ "Language-Team : Indonesian (https://app .transifex.com/python-doc/teams/5390/id/)\n "
1818"MIME-Version : 1.0\n "
1919"Content-Type : text/plain; charset=UTF-8\n "
2020"Content-Transfer-Encoding : 8bit\n "
@@ -33,7 +33,7 @@ msgstr ""
3333#: ../../c-api/capsule.rst:17
3434msgid ""
3535"This subtype of :c:type:`PyObject` represents an opaque value, useful for C "
36- "extension modules who need to pass an opaque value (as a :c:type :`void*` "
36+ "extension modules who need to pass an opaque value (as a :c:expr :`void*` "
3737"pointer) through Python code to other C code. It is often used to make a C "
3838"function pointer defined in one module available to other modules, so the "
3939"regular import mechanism can be used to access C APIs defined in dynamically"
@@ -44,6 +44,10 @@ msgstr ""
4444msgid "The type of a destructor callback for a capsule. Defined as::"
4545msgstr ""
4646
47+ #: ../../c-api/capsule.rst:29
48+ msgid "typedef void (*PyCapsule_Destructor)(PyObject *);"
49+ msgstr ""
50+
4751#: ../../c-api/capsule.rst:31
4852msgid ""
4953"See :c:func:`PyCapsule_New` for the semantics of PyCapsule_Destructor "
@@ -96,7 +100,7 @@ msgstr ""
96100msgid ""
97101"The *name* parameter must compare exactly to the name stored in the capsule."
98102" If the name stored in the capsule is ``NULL``, the *name* passed in must "
99- "also be ``NULL``. Python uses the C function :c:func:`strcmp` to compare "
103+ "also be ``NULL``. Python uses the C function :c:func:`! strcmp` to compare "
100104"capsule names."
101105msgstr ""
102106
@@ -144,18 +148,20 @@ msgid ""
144148"Import a pointer to a C object from a capsule attribute in a module. The "
145149"*name* parameter should specify the full name to the attribute, as in "
146150"``module.attribute``. The *name* stored in the capsule must match this "
147- "string exactly. If *no_block* is true, import the module without blocking "
148- "(using :c:func:`PyImport_ImportModuleNoBlock`). If *no_block* is false, "
149- "import the module conventionally (using :c:func:`PyImport_ImportModule`)."
151+ "string exactly."
150152msgstr ""
151153
152- #: ../../c-api/capsule.rst:110
154+ #: ../../c-api/capsule.rst:108
153155msgid ""
154156"Return the capsule's internal *pointer* on success. On failure, set an "
155157"exception and return ``NULL``."
156158msgstr ""
157159
158- #: ../../c-api/capsule.rst:116
160+ #: ../../c-api/capsule.rst:111
161+ msgid "*no_block* has no effect anymore."
162+ msgstr ""
163+
164+ #: ../../c-api/capsule.rst:117
159165msgid ""
160166"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
161167"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -164,42 +170,50 @@ msgid ""
164170" compared.)"
165171msgstr ""
166172
167- #: ../../c-api/capsule.rst:122
173+ #: ../../c-api/capsule.rst:123
168174msgid ""
169175"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
170- "to any of the accessors (any function starting with :c:func:` PyCapsule_Get`) "
171- " are guaranteed to succeed."
176+ "to any of the accessors (any function starting with `` PyCapsule_Get``) are "
177+ "guaranteed to succeed."
172178msgstr ""
173179
174- #: ../../c-api/capsule.rst:126
180+ #: ../../c-api/capsule.rst:127
175181msgid ""
176182"Return a nonzero value if the object is valid and matches the name passed "
177183"in. Return ``0`` otherwise. This function will not fail."
178184msgstr ""
179185
180- #: ../../c-api/capsule.rst:132
186+ #: ../../c-api/capsule.rst:133
181187msgid "Set the context pointer inside *capsule* to *context*."
182188msgstr ""
183189
184- #: ../../c-api/capsule.rst:134 ../../c-api/capsule.rst:141
185- #: ../../c-api/capsule.rst:150 ../../c-api/capsule.rst:158
190+ #: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
191+ #: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
186192msgid ""
187193"Return ``0`` on success. Return nonzero and set an exception on failure."
188194msgstr ""
189195
190- #: ../../c-api/capsule.rst:139
196+ #: ../../c-api/capsule.rst:140
191197msgid "Set the destructor inside *capsule* to *destructor*."
192198msgstr ""
193199
194- #: ../../c-api/capsule.rst:146
200+ #: ../../c-api/capsule.rst:147
195201msgid ""
196202"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
197203"outlive the capsule. If the previous *name* stored in the capsule was not "
198204"``NULL``, no attempt is made to free it."
199205msgstr ""
200206
201- #: ../../c-api/capsule.rst:155
207+ #: ../../c-api/capsule.rst:156
202208msgid ""
203209"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
204210"``NULL``."
205211msgstr ""
212+
213+ #: ../../c-api/capsule.rst:8
214+ msgid "object"
215+ msgstr "objek"
216+
217+ #: ../../c-api/capsule.rst:8
218+ msgid "Capsule"
219+ msgstr ""
0 commit comments