@@ -36,22 +36,22 @@ msgstr "La estructura C utilizada para las funciones."
3636#: ../Doc/c-api/function.rst:22
3737msgid ""
3838"This is an instance of :c:type:`PyTypeObject` and represents the Python "
39- "function type. It is exposed to Python programmers as "
40- "``types. FunctionType``."
39+ "function type. It is exposed to Python programmers as ``types. "
40+ "FunctionType``."
4141msgstr ""
4242"Esta es una instancia de :c:type:`PyTypeObject` y representa el tipo función "
43- "de Python. Está expuesto a los programadores de Python como "
44- "``types. FunctionType``."
43+ "de Python. Está expuesto a los programadores de Python como ``types. "
44+ "FunctionType``."
4545
4646#: ../Doc/c-api/function.rst:28
4747msgid ""
48- "Return true if *o* is a function object (has "
49- "type :c:data: `PyFunction_Type`). The parameter must not be ``NULL``. This "
50- "function always succeeds."
48+ "Return true if *o* is a function object (has type :c:data: "
49+ "`PyFunction_Type`). The parameter must not be ``NULL``. This function "
50+ "always succeeds."
5151msgstr ""
52- "Retorna verdadero si *o* es un objeto función (tiene "
53- "tipo :c:data: `PyFunction_Type`). El parámetro no debe ser ``NULL``. Esta "
54- "función siempre finaliza con éxito."
52+ "Retorna verdadero si *o* es un objeto función (tiene tipo :c:data: "
53+ "`PyFunction_Type`). El parámetro no debe ser ``NULL``. Esta función siempre "
54+ "finaliza con éxito."
5555
5656#: ../Doc/c-api/function.rst:34
5757msgid ""
@@ -65,31 +65,30 @@ msgstr ""
6565
6666#: ../Doc/c-api/function.rst:37
6767msgid ""
68- "The function's docstring and name are retrieved from the code "
69- "object. :attr: `~function.__module__` is retrieved from *globals*. The "
70- "argument defaults, annotations and closure are set to "
71- "``NULL``. :attr:`~function.__qualname__` is set to the same value as the "
72- "code object's :attr:`~codeobject. co_qualname` field."
68+ "The function's docstring and name are retrieved from the code object. :attr: "
69+ "`~function.__module__` is retrieved from *globals*. The argument defaults, "
70+ "annotations and closure are set to ``NULL``. :attr:`~function.__qualname__` "
71+ "is set to the same value as the code object's :attr:`~codeobject. "
72+ "co_qualname` field."
7373msgstr ""
74- "El docstring y el nombre de la función se obtienen del objeto "
75- "código. :attr: `~function.__module__` se obtiene de *globals*. Los argumentos "
76- "por defecto, anotaciones y clausura se establecen en "
77- "``NULL``. :attr:`~function. __qualname__` se establece en el mismo valor que "
78- "el campo :attr:`~codeobject. co_qualname` del objeto código."
74+ "El docstring y el nombre de la función se obtienen del objeto código. :attr: "
75+ "`~function.__module__` se obtiene de *globals*. Los argumentos por defecto, "
76+ "anotaciones y clausura se establecen en ``NULL``. :attr:`~function. "
77+ "__qualname__` se establece en el mismo valor que el campo :attr:`~codeobject. "
78+ "co_qualname` del objeto código."
7979
8080#: ../Doc/c-api/function.rst:46
8181msgid ""
82- "As :c:func:`PyFunction_New`, but also allows setting the function "
83- "object's :attr:`~function.__qualname__` attribute. *qualname* should be a "
84- "unicode object or ``NULL``; if ``NULL``, the :attr:`!__qualname__` attribute "
85- "is set to the same value as the code "
86- "object's :attr:`~codeobject.co_qualname` field."
82+ "As :c:func:`PyFunction_New`, but also allows setting the function object's :"
83+ "attr:`~function.__qualname__` attribute. *qualname* should be a unicode "
84+ "object or ``NULL``; if ``NULL``, the :attr:`!__qualname__` attribute is set "
85+ "to the same value as the code object's :attr:`~codeobject.co_qualname` field."
8786msgstr ""
88- "Como :c:func:`PyFunction_New`, pero también permite configurar el "
89- "atributo : attr:`~function.__qualname__` del objeto función. *qualname* debe "
90- "ser un objeto unicode o ``NULL``; si es ``NULL``, el atributo :attr:`!"
91- "__qualname__` se establece en el mismo valor que el "
92- "campo :attr:`~codeobject.co_qualname` del objeto código."
87+ "Como :c:func:`PyFunction_New`, pero también permite configurar el atributo : "
88+ "attr:`~function.__qualname__` del objeto función. *qualname* debe ser un "
89+ "objeto unicode o ``NULL``; si es ``NULL``, el atributo :attr:`!__qualname__` "
90+ "se establece en el mismo valor que el campo :attr:`~codeobject.co_qualname` "
91+ "del objeto código."
9392
9493#: ../Doc/c-api/function.rst:57
9594msgid "Return the code object associated with the function object *op*."
@@ -105,9 +104,9 @@ msgid ""
105104"attribute of the :ref:`function object <user-defined-funcs>` *op*. It can be "
106105"*NULL*."
107106msgstr ""
108- "Retorna una :term:`referencia prestada` al "
109- "atributo :attr:`~function. __module__` del :ref:`objeto función <user-defined-"
110- "funcs>` *op*. Puede ser *NULL*."
107+ "Retorna una :term:`referencia prestada` al atributo :attr:`~function. "
108+ "__module__` del :ref:`objeto función <user-defined-funcs>` *op*. Puede ser "
109+ "*NULL*."
111110
112111#: ../Doc/c-api/function.rst:71
113112msgid ""
@@ -197,14 +196,14 @@ msgstr ""
197196
198197#: ../Doc/c-api/function.rst:138
199198msgid ""
200- "Clear watcher identified by *watcher_id* previously returned "
201- "from :c:func: `PyFunction_AddWatcher` for the current interpreter. Return "
202- "``0`` on success, or ``-1`` and set an exception on error (e.g. if the "
203- "given *watcher_id* was never registered.)"
199+ "Clear watcher identified by *watcher_id* previously returned from :c:func: "
200+ "`PyFunction_AddWatcher` for the current interpreter. Return ``0`` on "
201+ "success, or ``-1`` and set an exception on error (e.g. if the given "
202+ "*watcher_id* was never registered.)"
204203msgstr ""
205- "Limpia el observador identificado por *watcher_id* previamente retornado "
206- "de : c:func:`PyFunction_AddWatcher` para el intérprete actual. Retorna ``0`` "
207- "en caso de éxito, o ``-1`` y establece una excepción en caso de error (por "
204+ "Limpia el observador identificado por *watcher_id* previamente retornado de : "
205+ "c:func:`PyFunction_AddWatcher` para el intérprete actual. Retorna ``0`` en "
206+ "caso de éxito, o ``-1`` y establece una excepción en caso de error (por "
208207"ejemplo, si el *watcher_id* dado nunca fue registrado)."
209208
210209#: ../Doc/c-api/function.rst:148
@@ -226,9 +225,9 @@ msgstr "Tipo de una función callback de observador de función."
226225#: ../Doc/c-api/function.rst:162
227226msgid ""
228227"If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` "
229- "then *new_value* will be ``NULL``. Otherwise, *new_value* will hold "
230- "a :term: `borrowed reference` to the new value that is about to be stored in "
231- "*func* for the attribute that is being modified."
228+ "then *new_value* will be ``NULL``. Otherwise, *new_value* will hold a :term: "
229+ "`borrowed reference` to the new value that is about to be stored in *func* "
230+ "for the attribute that is being modified."
232231msgstr ""
233232"Si *event* es ``PyFunction_EVENT_CREATE`` o ``PyFunction_EVENT_DESTROY`` "
234233"entonces *new_value* será ``NULL``. De lo contrario, *new_value* mantendrá "
@@ -280,12 +279,12 @@ msgstr ""
280279#: ../Doc/c-api/function.rst:184
281280msgid ""
282281"If the callback sets an exception, it must return ``-1``; this exception "
283- "will be printed as an unraisable exception "
284- "using :c:func: `PyErr_WriteUnraisable`. Otherwise it should return ``0``."
282+ "will be printed as an unraisable exception using :c:func: "
283+ "`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
285284msgstr ""
286285"Si el callback establece una excepción, debe retornar ``-1``; esta excepción "
287- "se imprimirá como una excepción no lanzable "
288- "usando :c:func: `PyErr_WriteUnraisable`. De lo contrario debe retornar ``0``."
286+ "se imprimirá como una excepción no lanzable usando :c:func: "
287+ "`PyErr_WriteUnraisable`. De lo contrario debe retornar ``0``."
289288
290289#: ../Doc/c-api/function.rst:188
291290msgid ""
0 commit comments