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