4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
+ # Hengky Kurniawan, 2025
8
+ # Fried Rice, 2025
7
9
# python-doc bot, 2025
8
10
#
9
11
#, fuzzy
10
12
msgid ""
11
13
msgstr ""
12
14
"Project-Id-Version : Python 3.14\n "
13
15
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-09-08 14:49-0300 \n "
16
+ "POT-Creation-Date : 2025-09-15 21:21+0000 \n "
15
17
"PO-Revision-Date : 2025-08-15 18:59+0000\n "
16
18
"Last-Translator : python-doc bot, 2025\n "
17
19
"Language-Team : Indonesian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -33,18 +35,30 @@ msgid ""
33
35
"slot). Specifically, this function does **not** call the object's :meth:`!"
34
36
"__init__` method."
35
37
msgstr ""
38
+ "Menginisialisasi objek *op* yang baru dialokasikan dengan tipe dan referensi "
39
+ "awalnya. Mengembalikan objek yang telah diinisialisasi. Bidang lain dari "
40
+ "objek tidak diinisialisasi. Terlepas dari namanya, fungsi ini tidak terkait "
41
+ "dengan metode :meth:`~object.__init__` objek (slot:c:member:`~PyTypeObject."
42
+ "tp_init` ). Secara khusus, fungsi ini tidak **tidak** memanggil metode :"
43
+ "meth:`!__init__` objek."
36
44
37
45
msgid ""
38
46
"In general, consider this function to be a low-level routine. Use :c:member:"
39
47
"`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`!"
40
48
"tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func:"
41
49
"`PyObject_New`."
42
50
msgstr ""
51
+ "Secara umum, anggaplah fungsi ini sebagai rutinitas tingkat rendah. Gunakan :"
52
+ "c:member:`~PyTypeObject.tp_alloc` jika memungkinkan. Untuk "
53
+ "mengimplementasikan :c:member:`!tp_alloc` untuk tipe Anda, pilih :c:func:"
54
+ "`PyType_GenericAlloc` atau :c:func:`PyObject_New`."
43
55
44
56
msgid ""
45
57
"This function only initializes the object's memory corresponding to the "
46
58
"initial :c:type:`PyObject` structure. It does not zero the rest."
47
59
msgstr ""
60
+ "Fungsi ini hanya menginisialisasi memori objek yang sesuai dengan struktur "
61
+ "awal :c:type:`PyObject`. Fungsi ini tidak mengosongkan sisanya."
48
62
49
63
msgid ""
50
64
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
@@ -57,6 +71,8 @@ msgid ""
57
71
"This function only initializes some of the object's memory. It does not "
58
72
"zero the rest."
59
73
msgstr ""
74
+ "Fungsi ini hanya menginisialisasi sebagian memori objek. Fungsi ini tidak "
75
+ "mengosongkan sisanya."
60
76
61
77
msgid ""
62
78
"Allocates a new Python object using the C structure type *TYPE* and the "
@@ -65,99 +81,140 @@ msgid ""
65
81
"`PyObject_Init`. The caller will own the only reference to the object (i.e. "
66
82
"its reference count will be one)."
67
83
msgstr ""
84
+ "Mengalokasikan objek Python baru menggunakan tipe struktur C *TYPE* dan "
85
+ "objek tipe Python *typeobj* (``PyTypeObject*``) dengan memanggil :c:func:"
86
+ "`PyObject_Malloc` untuk mengalokasikan memori dan menginisialisasinya "
87
+ "sebagai :c:func:`PyObject_Init`. Pemanggil akan memiliki satu-satunya "
88
+ "referensi ke objek tersebut (misal: jumlah referensinya adalah satu)."
68
89
69
90
msgid ""
70
91
"Avoid calling this directly to allocate memory for an object; call the "
71
92
"type's :c:member:`~PyTypeObject.tp_alloc` slot instead."
72
93
msgstr ""
94
+ "Hindari memanggil ini secara langsung untuk mengalokasikan memori untuk "
95
+ "sebuah objek; panggil slot :c:member:`~PyTypeObject.tp_alloc` dari tipe "
96
+ "sebagai gantinya."
73
97
74
98
msgid ""
75
99
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:"
76
100
"`PyType_GenericAlloc` is preferred over a custom function that simply calls "
77
101
"this macro."
78
102
msgstr ""
103
+ "Ketika mengisi slot tipe :c:member:`~PyTypeObject.tp_alloc` , :c:func:"
104
+ "`PyType_GenericAlloc` lebih direkomendasikan daripada fungsi kustom yang "
105
+ "hanya memanggil makro ini."
79
106
80
107
msgid ""
81
108
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
82
109
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
83
110
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
84
111
msgstr ""
112
+ "Makro ini tidak memanggil :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
113
+ "`~PyTypeObject.tp_new` (:meth:`~object.__new__`), atau :c:member:"
114
+ "`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
85
115
86
116
msgid ""
87
117
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
88
118
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
89
119
msgstr ""
120
+ "Ini tidak dapat digunakan untuk objek dengan :c:macro:`Py_TPFLAGS_HAVE_GC` "
121
+ "yang diatur di :c:member:`~PyTypeObject.tp_flags`; gunakan :c:macro:"
122
+ "`PyObject_GC_New` sebagai gantinya."
90
123
91
124
msgid ""
92
125
"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` "
93
126
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
94
127
msgstr ""
128
+ "Memori yang dialokasikan oleh makro ini harus dibebaskan dengan :c:func:"
129
+ "`PyObject_Free` (biasanya dipanggil melalui slot objek :c:member:"
130
+ "`~PyTypeObject.tp_free` )."
95
131
96
132
msgid ""
97
133
"The returned memory is not guaranteed to have been completely zeroed before "
98
134
"it was initialized."
99
135
msgstr ""
136
+ "Memori yang dikembalikan tidak dijamin telah di-nol-kan sepenuhnya sebelum "
137
+ "diinisialisasi."
100
138
101
139
msgid ""
102
140
"This macro does not construct a fully initialized object of the given type; "
103
141
"it merely allocates memory and prepares it for further initialization by :c:"
104
142
"member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
105
143
"call *typeobj* instead. For example::"
106
144
msgstr ""
145
+ "Makro ini tidak membuat objek yang diinisialisasi penuh dari tipe yang "
146
+ "diberikan; makro ini hanya mengalokasikan memori dan mempersiapkannya untuk "
147
+ "inisialisasi lebih lanjut oleh :c:member:`~PyTypeObject.tp_init`. Untuk "
148
+ "membuat objek yang diinisialisasi secara penuh, panggil *typeobj* sebagai "
149
+ "gantinya. Sebagai contoh::"
107
150
108
151
msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
109
- msgstr ""
152
+ msgstr "PyObject * foo = PyObject_CallNoArgs((PyObject *) & PyFoo_Type); "
110
153
111
154
msgid ":c:func:`PyObject_Free`"
112
155
msgstr ":c:func:`PyObject_Free`"
113
156
114
157
msgid ":c:macro:`PyObject_GC_New`"
115
- msgstr ""
158
+ msgstr ":c:macro:`PyObject_GC_New` "
116
159
117
160
msgid ":c:func:`PyType_GenericAlloc`"
118
- msgstr ""
161
+ msgstr ":c:func:`PyType_GenericAlloc` "
119
162
120
163
msgid ":c:member:`~PyTypeObject.tp_alloc`"
121
164
msgstr ":c:member:`~PyTypeObject.tp_alloc`"
122
165
123
166
msgid "Like :c:macro:`PyObject_New` except:"
124
- msgstr ""
167
+ msgstr "Seperti :c:macro:`PyObject_New` kecuali: "
125
168
126
169
msgid ""
127
170
"It allocates enough memory for the *TYPE* structure plus *size* "
128
171
"(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject."
129
172
"tp_itemsize` field of *typeobj*."
130
173
msgstr ""
174
+ "Ini mengalokasikan cukup memori untuk struktur *TYPE* ditambah bidang *size* "
175
+ "(``Py_ssize_t``) dengan ukuran yang diberikan oleh bidang :c:member:"
176
+ "`~PyTypeObject.tp_itemsize` dari *typeobj*."
131
177
132
178
msgid "The memory is initialized like :c:func:`PyObject_InitVar`."
133
- msgstr ""
179
+ msgstr "Memori diinisialisasi seperti :c:func:`PyObject_InitVar`. "
134
180
135
181
msgid ""
136
182
"This is useful for implementing objects like tuples, which are able to "
137
183
"determine their size at construction time. Embedding the array of fields "
138
184
"into the same allocation decreases the number of allocations, improving the "
139
185
"memory management efficiency."
140
186
msgstr ""
187
+ "Hal ini berguna untuk mengimplementasikan objek seperti tuple, yang dapat "
188
+ "menentukan ukurannya pada saat konstruksi. Menanamkan array of fields ke "
189
+ "dalam alokasi yang sama akan mengurangi jumlah alokasi, sehingga "
190
+ "meningkatkan efisiensi manajemen memori."
141
191
142
192
msgid ""
143
193
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
144
194
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead."
145
195
msgstr ""
196
+ "Ini tidak dapat digunakan untuk objek dengan :c:macro:`Py_TPFLAGS_HAVE_GC` "
197
+ "yang diatur di :c:member:`~PyTypeObject.tp_flags`; gunakan :c:macro:"
198
+ "`PyObject_GC_NewVar` sebagai gantinya."
146
199
147
200
msgid ""
148
201
"Memory allocated by this function must be freed with :c:func:`PyObject_Free` "
149
202
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
150
203
msgstr ""
204
+ "Memori yang dialokasikan oleh fungsi ini harus dibebaskan dengan :c:func:"
205
+ "`PyObject_Free` (biasanya dipanggil melalui slot :c:member:`~PyTypeObject."
206
+ "tp_free` objek)."
151
207
152
208
msgid ""
153
209
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
154
210
msgstr ""
211
+ "PyObject * list_instance = PyObject_CallNoArgs((PyObject *) & PyList_Type);"
155
212
156
213
msgid ":c:macro:`PyObject_GC_NewVar`"
157
- msgstr ""
214
+ msgstr ":c:macro:`PyObject_GC_NewVar` "
158
215
159
216
msgid "Same as :c:func:`PyObject_Free`."
160
- msgstr ""
217
+ msgstr "Sama seperti :c:func:`PyObject_Free`. "
161
218
162
219
msgid ""
163
220
"Object which is visible in Python as ``None``. This should only be accessed "
@@ -169,7 +226,7 @@ msgstr ""
169
226
"pointer ke object ini."
170
227
171
228
msgid ":ref:`moduleobjects`"
172
- msgstr ""
229
+ msgstr ":ref:`moduleobjects` "
173
230
174
231
msgid "To allocate and create extension modules."
175
232
msgstr "Untuk mengalokasikan dan membuat modul ekstensi."
0 commit comments