You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
"For simplicity, only the :c:expr:`char\\*` version will be demonstrated "
"here; the type of the name parameter is the only difference between the :c:"
Expand All
@@ -509,13 +508,13 @@ msgid ""
"handler functions are called, so that if you do need to extend their "
"functionality, you'll understand what needs to be done."
msgstr ""
"Para simplificar,aquísolose demostrarála versión :c:type:`char\\*`; el "
"tipode parámetrode nombre es la única diferencia entrelas variaciones de "
"la interfaz :c:type:`char\\*`y :c:type:`PyObject\\*`. Este ejemplo "
"efectivamente hace lomismo que el ejemplo genérico anterior, pero no "
"utiliza el soporte genéricoagregado en Python 2.2. Explica cómo se llaman "
"las funciones delcontrolador, de modo que si necesita ampliar su "
"funcionalidad, comprenderálo que debe hacerse."
"Para simplificar, solo la versión :c:expr:`char\\*` será demostrada aquí; el "
"tipodel parámetrocon nombre es la única diferencia entre:c:expr:`char\\*` "
"y :c:expr:`PyObject*` de la interfaz. Este ejemplo efectivamente hace lo "
"mismo que el ejemplo genérico anterior, pero no usa el soporte genérico "
"agregado en Python 2.2. Explica cómo se llaman las funciones del "
"controlador, de modo que si necesita ampliar su funcionalidad, comprenderá "
"lo que debe hacerse."
#: ../Doc/extending/newtypes.rst:350
msgid ""
Expand DownExpand Up
@@ -564,7 +563,6 @@ msgstr ""
"`PyObject_RichCompare` y :c:func:`PyObject_RichCompareBool`."
#: ../Doc/extending/newtypes.rst:395
#, fuzzy
msgid ""
"This function is called with two Python objects and the operator as "
"arguments, where the operator is one of ``Py_EQ``, ``Py_NE``, ``Py_LE``, "
Expand All
@@ -574,13 +572,13 @@ msgid ""
"comparison is not implemented and the other object's comparison method "
"should be tried, or ``NULL`` if an exception was set."
msgstr ""
"Esta función se llama con dos objetos Python y el operador como argumentos, "
"donde el operador es uno de ``Py_EQ``, ``Py_NE``, ``Py_LE``, ``Py_GT``, "
"``Py_LT`` o ``Py_GT``. Debe comparar los dos objetos con respecto al "
"operador especificado y retornar ``Py_True`` o ``Py_False`` si la "
"Esta función se llama con dos objetosdePython y el operador como "
"argumentos,donde el operador es uno de ``Py_EQ``, ``Py_NE``, ``Py_LE``, "
"``Py_GE``, ``Py_LT`` o ``Py_GT``. Debe comparar los dos objetos con respecto "
"aloperador especificado y retornar ``Py_True`` o ``Py_False`` si la "
"comparación es exitosa, ``Py_NotImplemented`` para indicar que la "
"comparación no está implementada y el método de comparación del otro objeto "
"debería intentarse, o ``NULL`` si se estableció una excepción."
"comparación no está implementada yse debe probarel método de comparación "
"del otro objeto, o ``NULL`` si se estableció una excepción."
#: ../Doc/extending/newtypes.rst:403
msgid ""
Expand DownExpand Up
@@ -825,17 +823,16 @@ msgstr ""
"hacer dos cosas:"
#: ../Doc/extending/newtypes.rst:575
#, fuzzy
msgid ""
"Include a :c:expr:`PyObject*` field in the C object structure dedicated to "
"the weak reference mechanism. The object's constructor should leave it "
"``NULL`` (which is automatic when using the default :c:member:`~PyTypeObject."
"tp_alloc`)."
msgstr ""
"Incluya el campoa:c:type:`PyObject\\*` en la estructura del objeto C "
"dedicadaal mecanismo de referencia débil. El constructor del objeto debe "
"dejarlo ``NULL`` (que es automático cuando se usa elvalor predeterminado:c:"
"member:`~PyTypeObject.tp_alloc`)."
"Incluye un campo :c:expr:`PyObject*` en la estructura del objeto C dedicado "
"al mecanismo de referencia débil. El constructor del objeto debe dejarlo "
"como ``NULL`` (que es automático cuando se usa el :c:member:`~PyTypeObject."
"tp_alloc` predeterminado)."
#: ../Doc/extending/newtypes.rst:580
msgid ""
Expand All
@@ -856,10 +853,9 @@ msgstr ""
"con el campo requerido::"
#: ../Doc/extending/newtypes.rst:592
#, fuzzy
msgid "And the corresponding member in the statically declared type object::"
msgstr ""
"Y el miembro correspondiente en el objeto de tipo declarado estáticamente::"
"Y el miembro correspondiente en el objeto de tipo declarado estáticamente:"
#: ../Doc/extending/newtypes.rst:600
msgid ""
Expand Down
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.