Skip to content

Commit a35d32f

Browse files
Traducido archivo c-api/typeobj (#2136)
Closes #2069 Co-authored-by: Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io>
1 parent 8c18bda commit a35d32f

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

c-api/typeobj.po

+21-4
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: 2022-10-25 19:47+0200\n"
14-
"PO-Revision-Date: 2021-08-01 20:07+0200\n"
14+
"PO-Revision-Date: 2022-11-03 04:57-0400\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
16-
"Language: es\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.10.3\n"
23+
"X-Generator: Poedit 3.2.1\n"
2324

2425
#: ../Doc/c-api/typeobj.rst:6
2526
msgid "Type Objects"
@@ -1583,6 +1584,10 @@ msgid ""
15831584
"flag bit set), the destructor should call :c:func:`PyObject_GC_UnTrack` "
15841585
"before clearing any member fields."
15851586
msgstr ""
1587+
"Si el tipo admite la recolección de elementos no utilizados (tiene "
1588+
"establecido el bit indicador :const:`Py_TPFLAGS_HAVE_GC`), el destructor "
1589+
"debe llamar a :c:func:`PyObject_GC_UnTrack` antes de borrar cualquier campo "
1590+
"miembro."
15861591

15871592
#: ../Doc/c-api/typeobj.rst:683
15881593
msgid ""
@@ -2349,6 +2354,9 @@ msgid ""
23492354
"This bit is inherited for types with the :const:`Py_TPFLAGS_IMMUTABLETYPE` "
23502355
"flag set, if :c:member:`~PyTypeObject.tp_call` is also inherited."
23512356
msgstr ""
2357+
"Este bit se hereda para tipos con el indicador establecido :const:"
2358+
"`Py_TPFLAGS_IMMUTABLETYPE`, si :c:member:`~PyTypeObject.tp_call` también se "
2359+
"hereda."
23522360

23532361
#: ../Doc/c-api/typeobj.rst:1189
23542362
msgid ""
@@ -3245,6 +3253,12 @@ msgid ""
32453253
"need to allocate memory for the dictionary, so it is may be more efficient "
32463254
"to call :c:func:`PyObject_GetAttr` when accessing an attribute on the object."
32473255
msgstr ""
3256+
"El :c:member:`~PyTypeObject.tp_dictoffset` debe considerarse como de solo "
3257+
"escritura. Para obtener el puntero al diccionario, llame a :c:func:"
3258+
"`PyObject_GenericGetDict`. Llamar a :c:func:`PyObject_GenericGetDict` puede "
3259+
"necesitar asignar memoria para el diccionario, por lo que puede ser más "
3260+
"eficiente llamar a :c:func:`PyObject_GetAttr` cuando se accede a un atributo "
3261+
"en el objeto."
32483262

32493263
#: ../Doc/c-api/typeobj.rst:1720
32503264
msgid ""
@@ -3532,7 +3546,7 @@ msgid ""
35323546
msgstr ""
35333547
"(El único ejemplo de esto son los tipos en sí. El metatipo, :c:data:"
35343548
"`PyType_Type`, define esta función para distinguir entre tipos estática y :"
3535-
"ref:`dinámicamente asignados <heap-types>`)."
3549+
"ref:`dinámicamente asignados <heap-types>`.)"
35363550

35373551
#: ../Doc/c-api/typeobj.rst:1887
35383552
msgid ""
@@ -3665,6 +3679,9 @@ msgid ""
36653679
"`Py_TPFLAGS_HAVE_FINALIZE` flags bit in order for this field to be used. "
36663680
"This is no longer required."
36673681
msgstr ""
3682+
"Antes de la versión 3.8 era necesario establecer el bit de bandera :const:"
3683+
"`Py_TPFLAGS_HAVE_FINALIZE` para que este campo fuera utilizado. Esto ya no "
3684+
"es necesario."
36683685

36693686
#: ../Doc/c-api/typeobj.rst:2010
36703687
msgid "\"Safe object finalization\" (:pep:`442`)"

0 commit comments

Comments
 (0)