@@ -13,12 +13,12 @@ msgstr ""
13
13
"POT-Creation-Date : 2021-10-16 21:42+0200\n "
14
14
"PO-Revision-Date : 2021-08-02 01:37+0200\n "
15
15
"
Last-Translator :
Cristián Maureira-Fredes <[email protected] >\n "
16
- "Language : es\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1) \n "
17
+ "Language : es \n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=utf-8\n "
21
20
"Content-Transfer-Encoding : 8bit\n "
21
+ "Plural-Forms : nplurals=2; plural=(n != 1)\n "
22
22
"Generated-By : Babel 2.9.1\n "
23
23
24
24
#: ../Doc/c-api/type.rst:6
@@ -165,6 +165,13 @@ msgid ""
165
165
"in its flags then it **must** implement the GC protocol itself by at least "
166
166
"implementing the :c:member:`~PyTypeObject.tp_traverse` handle."
167
167
msgstr ""
168
+ "Si algunas de las clases base implementan el protocolo GC y el tipo "
169
+ "proporcionado no incluye el :const:`Py_TPFLAGS_HAVE_GC` en sus banderas, "
170
+ "entonces el protocolo GC se implementará automáticamente desde sus padres. "
171
+ "Por el contrario, si el tipo que se está creando incluye :const:"
172
+ "`Py_TPFLAGS_HAVE_GC` en sus banderas, entonces **debe** implementar el "
173
+ "protocolo GC por sí mismo al implementar al menos el identificador :c:member:"
174
+ "`~PyTypeObject.tp_traverse`."
168
175
169
176
#: ../Doc/c-api/type.rst:111
170
177
msgid ""
@@ -190,6 +197,8 @@ msgid ""
190
197
":c:func:`PyType_GetSlot` can now accept all types. Previously, it was "
191
198
"limited to :ref:`heap types <heap-types>`."
192
199
msgstr ""
200
+ ":c:func:`PyType_GetSlot` ahora puede aceptar todos los tipos. Anteriormente, "
201
+ "estaba limitado a :ref:`heap types <heap-types>`."
193
202
194
203
#: ../Doc/c-api/type.rst:127
195
204
msgid ""
@@ -255,12 +264,11 @@ msgstr ""
255
264
"types <heap-types>`."
256
265
257
266
#: ../Doc/c-api/type.rst:165
258
- #, fuzzy
259
267
msgid ""
260
268
"Creates and returns a :ref:`heap type <heap-types>` from the *spec* (:const:"
261
269
"`Py_TPFLAGS_HEAPTYPE`)."
262
270
msgstr ""
263
- "Crea y retorna un objeto montículo (* heap*) a partir de *spec* (:const:"
271
+ "Crea y retorna un :ref:`tipo heap < heap-types>` a partir del *spec* (:const:"
264
272
"`Py_TPFLAGS_HEAPTYPE`)."
265
273
266
274
#: ../Doc/c-api/type.rst:168
@@ -271,9 +279,13 @@ msgid ""
271
279
"*Py_tp_base* slot is used instead. If that also is ``NULL``, the new type "
272
280
"derives from :class:`object`."
273
281
msgstr ""
282
+ "El argumento *bases* se puede utilizar para especificar clases base; puede "
283
+ "ser solo una clase o una tupla de clases. Si *bases* es ``NULL``, en su "
284
+ "lugar se utiliza la ranura *Py_tp_bases*. Si esa también es ``NULL``, se usa "
285
+ "la ranura *Py_tp_base* en su lugar. Si también es ``NULL``, el nuevo tipo se "
286
+ "deriva de :class:`object`."
274
287
275
288
#: ../Doc/c-api/type.rst:174
276
- #, fuzzy
277
289
msgid ""
278
290
"The *module* argument can be used to record the module in which the new "
279
291
"class is defined. It must be a module object or ``NULL``. If not ``NULL``, "
@@ -296,6 +308,8 @@ msgid ""
296
308
"The function now accepts a single class as the *bases* argument and ``NULL`` "
297
309
"as the ``tp_doc`` slot."
298
310
msgstr ""
311
+ "La función ahora acepta una sola clase como argumento *bases* y ``NULL`` "
312
+ "como ranura ``tp_doc``."
299
313
300
314
#: ../Doc/c-api/type.rst:192
301
315
msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``."
@@ -479,7 +493,7 @@ msgstr ""
479
493
480
494
#: ../Doc/c-api/type.rst:282
481
495
msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``."
482
- msgstr ""
496
+ msgstr "Las ranuras que no sean ``Py_tp_doc`` pueden no ser ``NULL``. "
483
497
484
498
#~ msgid ":c:member:`~PyTypeObject.tp_print`"
485
499
#~ msgstr ":c:member:`~PyTypeObject.tp_print`"
0 commit comments