Skip to content

Traducido archivo c-api/typeobj #2136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 24, 2022
25 changes: 21 additions & 4 deletions c-api/typeobj.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2021-08-01 20:07+0200\n"
"PO-Revision-Date: 2022-11-03 04:57-0400\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.2.1\n"

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

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

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

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

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

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