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
Next Next commit
Traducido archivo c-api/typeobj
  • Loading branch information
martorelli617 committed Oct 31, 2022
commit 390c50ebf8b2f17a935db872de05fa62b95ce3c8
40 changes: 28 additions & 12 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-10-31 11:43-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 @@ -599,8 +600,8 @@ msgid ""
msgstr ""
"Un nombre de ranura entre paréntesis indica que está (efectivamente) en "
"desuso. Los nombres entre paréntesis angulares deben tratarse como de solo "
"lectura. Los nombres entre corchetes son solo para uso interno. "
"\"<R>\" (como prefijo) significa que el campo es obligatorio (no debe ser "
"lectura. Los nombres entre corchetes son solo para uso interno. \"<R>"
"\" (como prefijo) significa que el campo es obligatorio (no debe ser "
"``NULL``)."

#: ../Doc/c-api/typeobj.rst:156
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 @@ -1681,8 +1686,8 @@ msgstr ""
#: ../Doc/c-api/typeobj.rst:750
msgid "An optional pointer to the get-attribute-string function."
msgstr ""
"Un puntero opcional a la función \"obtener atributo cadena de "
"caracteres\" (*get-attribute-string*)."
"Un puntero opcional a la función \"obtener atributo cadena de caracteres"
"\" (*get-attribute-string*)."

#: ../Doc/c-api/typeobj.rst:752
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 @@ -3084,10 +3092,9 @@ msgid ""
"valid C99 address constants."
msgstr ""
"La inicialización de ranuras está sujeta a las reglas de inicialización de "
"globales. C99 requiere que los inicializadores sean \"constantes de "
"dirección\". Los designadores de funciones como :c:func:`PyType_GenericNew`, "
"con conversión implícita a un puntero, son constantes de dirección C99 "
"válidas."
"globales. C99 requiere que los inicializadores sean \"constantes de dirección"
"\". Los designadores de funciones como :c:func:`PyType_GenericNew`, con "
"conversión implícita a un puntero, son constantes de dirección C99 válidas."

#: ../Doc/c-api/typeobj.rst:1612
msgid ""
Expand Down Expand Up @@ -3245,6 +3252,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 +3545,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 +3678,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