@@ -11,8 +11,8 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2024-11-21 16:38-0300\n "
14
- "PO-Revision-Date : 2021 -12-09 10:29+ 0800\n "
15
- "Last-Translator : Rodrigo Tobar <rtobarc @gmail.com>\n "
14
+ "PO-Revision-Date : 2024 -12-13 12:25- 0800\n "
15
+ "Last-Translator : Erick G. Islas-Osuna <erickisos653 @gmail.com>\n "
16
16
"Language : es\n "
17
17
"Language-Team : python-doc-es\n "
18
18
"Plural-Forms : nplurals=2; plural=(n != 1);\n "
@@ -64,31 +64,30 @@ msgstr ""
64
64
"la función."
65
65
66
66
#: ../Doc/c-api/function.rst:37
67
- #, fuzzy
68
67
msgid ""
69
68
"The function's docstring and name are retrieved from the code object. :attr:"
70
69
"`~function.__module__` is retrieved from *globals*. The argument defaults, "
71
70
"annotations and closure are set to ``NULL``. :attr:`~function.__qualname__` "
72
71
"is set to the same value as the code object's :attr:`~codeobject."
73
72
"co_qualname` field."
74
73
msgstr ""
75
- "El docstring y el nombre de la función se obtiene del objeto código. "
76
- "*__module__* se obtiene de *globals *. El argumento *defaults*, "
77
- "*annotations* y *closure* se establecen en ``NULL``. *__qualname__* se "
78
- "establece en el mismo valor que el nombre de la función."
74
+ "El docstring y el nombre de la función se obtienen del objeto código. "
75
+ ":attr:`~function.__module__` se obtiene de *globals*. Los argumentos por defecto, "
76
+ "anotaciones y clausura se establecen en ``NULL``. :attr:`~function.__qualname__` "
77
+ "se establece en el mismo valor que el campo :attr:`~codeobject.co_qualname` "
78
+ "del objeto código."
79
79
80
80
#: ../Doc/c-api/function.rst:46
81
- #, fuzzy
82
81
msgid ""
83
82
"As :c:func:`PyFunction_New`, but also allows setting the function object's :"
84
83
"attr:`~function.__qualname__` attribute. *qualname* should be a unicode "
85
84
"object or ``NULL``; if ``NULL``, the :attr:`!__qualname__` attribute is set "
86
85
"to the same value as the code object's :attr:`~codeobject.co_qualname` field."
87
86
msgstr ""
88
87
"Como :c:func:`PyFunction_New`, pero también permite configurar el atributo "
89
- "`` __qualname__` ` del objeto función. *qualname* debe ser un objeto unicode o "
90
- "``NULL``; si es ``NULL``, el atributo `` __qualname__` ` se establece en el "
91
- "mismo valor que su atributo ``__name__`` ."
88
+ ":attr:`~function. __qualname__` del objeto función. *qualname* debe ser un objeto unicode o "
89
+ "``NULL``; si es ``NULL``, el atributo :attr:`! __qualname__` se establece en el "
90
+ "mismo valor que el campo :attr:`~codeobject.co_qualname` del objeto código ."
92
91
93
92
#: ../Doc/c-api/function.rst:57
94
93
msgid "Return the code object associated with the function object *op*."
@@ -99,22 +98,20 @@ msgid "Return the globals dictionary associated with the function object *op*."
99
98
msgstr "Retorna el diccionario global asociado con el objeto función *op*."
100
99
101
100
#: ../Doc/c-api/function.rst:67
102
- #, fuzzy
103
101
msgid ""
104
102
"Return a :term:`borrowed reference` to the :attr:`~function.__module__` "
105
103
"attribute of the :ref:`function object <user-defined-funcs>` *op*. It can be "
106
104
"*NULL*."
107
105
msgstr ""
108
- "Retorna una referencia tomada ( :term:`borrowed reference`) al atributo "
109
- "*__module__* del objeto función *op*. Puede ser *NULL*."
106
+ "Retorna una :term:`referencia prestada` al atributo :attr:`~function.__module__` "
107
+ "del :ref:` objeto función <user-defined-funcs>` *op*. Puede ser *NULL*."
110
108
111
109
#: ../Doc/c-api/function.rst:71
112
- #, fuzzy
113
110
msgid ""
114
111
"This is normally a :class:`string <str>` containing the module name, but can "
115
112
"be set to any other object by Python code."
116
113
msgstr ""
117
- "Éste es normalmente una cadena de caracteres que contiene el nombre del "
114
+ "Esto es normalmente una :class:` cadena de caracteres <str>` que contiene el nombre del "
118
115
"módulo, pero se puede establecer en cualquier otro objeto mediante código "
119
116
"Python."
120
117
@@ -141,13 +138,15 @@ msgstr "Lanza :exc:`SystemError` y retorna ``-1`` en caso de error."
141
138
142
139
#: ../Doc/c-api/function.rst:91
143
140
msgid "Set the vectorcall field of a given function object *func*."
144
- msgstr ""
141
+ msgstr "Establece el campo vectorcall de un objeto función dado *func*. "
145
142
146
143
#: ../Doc/c-api/function.rst:93
147
144
msgid ""
148
145
"Warning: extensions using this API must preserve the behavior of the "
149
146
"unaltered (default) vectorcall function!"
150
147
msgstr ""
148
+ "Advertencia: ¡las extensiones que usan esta API deben preservar el comportamiento "
149
+ "de la función vectorcall inalterada (por defecto)!"
151
150
152
151
#: ../Doc/c-api/function.rst:100
153
152
msgid ""
@@ -188,6 +187,10 @@ msgid ""
188
187
"case of error (e.g. no more watcher IDs available), return ``-1`` and set an "
189
188
"exception."
190
189
msgstr ""
190
+ "Registra *callback* como un observador de función para el intérprete actual. "
191
+ "Retorna un ID que puede pasarse a :c:func:`PyFunction_ClearWatcher`. En caso "
192
+ "de error (por ejemplo, no hay más IDs de observador disponibles), retorna ``-1`` "
193
+ "y establece una excepción."
191
194
192
195
#: ../Doc/c-api/function.rst:138
193
196
msgid ""
@@ -196,6 +199,10 @@ msgid ""
196
199
"success, or ``-1`` and set an exception on error (e.g. if the given "
197
200
"*watcher_id* was never registered.)"
198
201
msgstr ""
202
+ "Limpia el observador identificado por *watcher_id* previamente retornado de :c:func:"
203
+ "`PyFunction_AddWatcher` para el intérprete actual. Retorna ``0`` en caso de "
204
+ "éxito, o ``-1`` y establece una excepción en caso de error (por ejemplo, si el "
205
+ "*watcher_id* dado nunca fue registrado)."
199
206
200
207
#: ../Doc/c-api/function.rst:148
201
208
msgid ""
@@ -204,10 +211,14 @@ msgid ""
204
211
"``PyFunction_EVENT_MODIFY_CODE`` - ``PyFunction_EVENT_MODIFY_DEFAULTS`` - "
205
212
"``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
206
213
msgstr ""
214
+ "Enumeración de posibles eventos de observador de función: - "
215
+ "``PyFunction_EVENT_CREATE`` - ``PyFunction_EVENT_DESTROY`` - "
216
+ "``PyFunction_EVENT_MODIFY_CODE`` - ``PyFunction_EVENT_MODIFY_DEFAULTS`` - "
217
+ "``PyFunction_EVENT_MODIFY_KWDEFAULTS``"
207
218
208
219
#: ../Doc/c-api/function.rst:160
209
220
msgid "Type of a function watcher callback function."
210
- msgstr ""
221
+ msgstr "Tipo de una función callback de observador de función. "
211
222
212
223
#: ../Doc/c-api/function.rst:162
213
224
msgid ""
@@ -216,12 +227,18 @@ msgid ""
216
227
"`borrowed reference` to the new value that is about to be stored in *func* "
217
228
"for the attribute that is being modified."
218
229
msgstr ""
230
+ "Si *event* es ``PyFunction_EVENT_CREATE`` o ``PyFunction_EVENT_DESTROY`` "
231
+ "entonces *new_value* será ``NULL``. De lo contrario, *new_value* mantendrá una :term:"
232
+ "`referencia prestada` al nuevo valor que está a punto de almacenarse en *func* "
233
+ "para el atributo que se está modificando."
219
234
220
235
#: ../Doc/c-api/function.rst:167
221
236
msgid ""
222
237
"The callback may inspect but must not modify *func*; doing so could have "
223
238
"unpredictable effects, including infinite recursion."
224
239
msgstr ""
240
+ "El callback puede inspeccionar pero no debe modificar *func*; hacerlo podrÃa tener "
241
+ "efectos impredecibles, incluyendo recursión infinita."
225
242
226
243
#: ../Doc/c-api/function.rst:170
227
244
msgid ""
@@ -234,6 +251,14 @@ msgid ""
234
251
"behavior depending on optimization decisions, it does not change the "
235
252
"semantics of the Python code being executed."
236
253
msgstr ""
254
+ "Si *event* es ``PyFunction_EVENT_CREATE``, entonces el callback se invoca "
255
+ "después de que `func` haya sido completamente inicializada. De lo contrario, el callback se invoca "
256
+ "antes de que tenga lugar la modificación a *func*, por lo que el estado previo de *func* "
257
+ "puede ser inspeccionado. Se permite al tiempo de ejecución optimizar la creación de "
258
+ "objetos función cuando sea posible. En tales casos no se emitirá ningún evento. "
259
+ "Aunque esto crea la posibilidad de una diferencia observable del comportamiento del tiempo de ejecución "
260
+ "dependiendo de las decisiones de optimización, no cambia la "
261
+ "semántica del código Python que se está ejecutando."
237
262
238
263
#: ../Doc/c-api/function.rst:179
239
264
msgid ""
@@ -242,6 +267,10 @@ msgid ""
242
267
"it from being freed at this time. When the resurrected object is destroyed "
243
268
"later, any watcher callbacks active at that time will be called again."
244
269
msgstr ""
270
+ "Si *event* es ``PyFunction_EVENT_DESTROY``, tomar una referencia en el "
271
+ "callback a la función a punto de ser destruida la resucitará, evitando "
272
+ "que sea liberada en este momento. Cuando el objeto resucitado sea destruido "
273
+ "más tarde, cualquier callback observador activo en ese momento será llamado de nuevo."
245
274
246
275
#: ../Doc/c-api/function.rst:184
247
276
msgid ""
@@ -261,13 +290,12 @@ msgstr ""
261
290
262
291
#: ../Doc/c-api/function.rst:8
263
292
msgid "object"
264
- msgstr ""
293
+ msgstr "objeto "
265
294
266
295
#: ../Doc/c-api/function.rst:8
267
- #, fuzzy
268
296
msgid "function"
269
- msgstr "Objetos función"
297
+ msgstr "función"
270
298
271
299
#: ../Doc/c-api/function.rst:20
272
300
msgid "MethodType (in module types)"
273
- msgstr ""
301
+ msgstr "MethodType (en module types) "
0 commit comments