Skip to content

Commit 811e7b0

Browse files
manudefrutosvilacmaureir
authored andcommitted
Translate c-api/gcsupport.po file (#1574)
1 parent facbb60 commit 811e7b0

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

c-api/gcsupport.po

+30-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
14-
"PO-Revision-Date: 2021-08-02 01:45+0200\n"
14+
"PO-Revision-Date: 2021-10-26 08:09+0200\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.9.1\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/c-api/gcsupport.rst:6
2526
msgid "Supporting Cyclic Garbage Collection"
@@ -92,6 +93,9 @@ msgid ""
9293
"c:member:`~PyTypeObject.tp_traverse` handler or explicitly use one from its "
9394
"subclass or subclasses."
9495
msgstr ""
96+
"Si un tipo añade el Py_TPFLAGS_HAVE_GC, entonces *must* implementar al menos "
97+
"un manejado :c:member:`~PyTypeObject.tp_traverse` o usar explícitamente uno "
98+
"de su subclase o subclases."
9599

96100
#: ../Doc/c-api/gcsupport.rst:41
97101
msgid ""
@@ -103,6 +107,13 @@ msgid ""
103107
"implements the garbage collector protocol and the child class does *not* "
104108
"include the :const:`Py_TPFLAGS_HAVE_GC` flag."
105109
msgstr ""
110+
"Al llamar a :c:func:`PyType_Ready` o alguna de las APIs que indirectamente "
111+
"lo llaman como :c:func:`PyType_FromSpecWithBases` o :c:func:"
112+
"`PyType_FromSpec` el intérprete automáticamente llenara los campos :c:member:"
113+
"`~PyTypeObject.tp_flags`, :c:member:`~PyTypeObject.tp_traverse` y :c:member:"
114+
"`~PyTypeObject.tp_clear` si el tipo si el tipo hereda de una clase que "
115+
"implementa el protocolo del recolector de basura y la clase secundaria *no* "
116+
"incluye el *flag* :const:`Py_TPFLAGS_HAVE_GC`."
106117

107118
#: ../Doc/c-api/gcsupport.rst:51
108119
msgid ""
@@ -338,19 +349,24 @@ msgstr ""
338349

339350
#: ../Doc/c-api/gcsupport.rst:191
340351
msgid "Controlling the Garbage Collector State"
341-
msgstr ""
352+
msgstr "Controlar el estado del recolector de basura"
342353

343354
#: ../Doc/c-api/gcsupport.rst:193
344355
msgid ""
345356
"The C-API provides the following functions for controlling garbage "
346357
"collection runs."
347358
msgstr ""
359+
"La C-API proporciona las siguientes funciones para controlar las ejecuciones "
360+
"de recolección de basura."
348361

349362
#: ../Doc/c-api/gcsupport.rst:198
350363
msgid ""
351364
"Perform a full garbage collection, if the garbage collector is enabled. "
352365
"(Note that :func:`gc.collect` runs it unconditionally.)"
353366
msgstr ""
367+
"Realiza una recolección de basura completa, si el recolector de basura está "
368+
"habilitado. (Tenga en cuenta que :func:`gc.collect` lo ejecuta "
369+
"incondicionalmente)."
354370

355371
#: ../Doc/c-api/gcsupport.rst:201
356372
msgid ""
@@ -359,21 +375,32 @@ msgid ""
359375
"returns ``0`` immediately. Errors during garbage collection are passed to :"
360376
"data:`sys.unraisablehook`. This function does not raise exceptions."
361377
msgstr ""
378+
"Retorna el número de objetos recolectados e inalcanzables que no se pueden "
379+
"recolectar. Si el recolector de basura está deshabilitado o ya está "
380+
"recolectando, retorna ``0`` inmediatamente. Los errores durante la "
381+
"recolección de basura se pasan a :data:`sys.unraisablehook`. Esta función no "
382+
"genera excepciones."
362383

363384
#: ../Doc/c-api/gcsupport.rst:211
364385
msgid ""
365386
"Enable the garbage collector: similar to :func:`gc.enable`. Returns the "
366387
"previous state, 0 for disabled and 1 for enabled."
367388
msgstr ""
389+
"Habilita el recolector de basura: similar a :func:`gc.enable`. Retorna el "
390+
"estado anterior, 0 para deshabilitado y 1 para habilitado."
368391

369392
#: ../Doc/c-api/gcsupport.rst:219
370393
msgid ""
371394
"Disable the garbage collector: similar to :func:`gc.disable`. Returns the "
372395
"previous state, 0 for disabled and 1 for enabled."
373396
msgstr ""
397+
"Deshabilita el recolector de basura: similar a :func:`gc.disable`. Retorna "
398+
"el estado anterior, 0 para deshabilitado y 1 para habilitado."
374399

375400
#: ../Doc/c-api/gcsupport.rst:227
376401
msgid ""
377402
"Query the state of the garbage collector: similar to :func:`gc.isenabled`. "
378403
"Returns the current state, 0 for disabled and 1 for enabled."
379404
msgstr ""
405+
"Consulta el estado del recolector de basura: similar a :func:`gc.isenabled`. "
406+
"Retorna el estado actual, 0 para deshabilitado y 1 para habilitado."

0 commit comments

Comments
 (0)