From 7b67e65c6e907923f22366b8758b339ca15e400f Mon Sep 17 00:00:00 2001 From: Luis Cruz <62455365+artur282@users.noreply.github.com> Date: Fri, 11 Sep 2026 18:01:08 -0400 Subject: [PATCH] =?UTF-8?q?Completar=20la=20traducci=C3=B3n=20de=20c-api/f?= =?UTF-8?q?unction.po?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cierra #3806. --- c-api/function.po | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/c-api/function.po b/c-api/function.po index 8fe11af4df..489e59d94a 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -151,13 +151,12 @@ msgstr "" "comportamiento de la función vectorcall inalterada (por defecto)!" #: ../Doc/c-api/function.rst:101 -#, fuzzy msgid "" "Return the keyword-only argument default values of the function object *op*. " "This can be a dictionary of arguments or ``NULL``." -msgstr "" -"Retorna los valores predeterminados del argumento del objeto función *op*. " -"Esto puede ser una tupla de argumentos o ``NULL``." +msgstr "Retorna los valores predeterminados de los argumentos de solo palabra " +"clave del objeto función *op*. Puede ser un diccionario de argumentos o " +"``NULL``." #: ../Doc/c-api/function.rst:107 msgid "" @@ -196,7 +195,9 @@ msgid "" "These functions are similar to their ``PyFunction_Get*`` counterparts, but " "do not do type checking. Passing anything other than an instance of :c:data:" "`PyFunction_Type` is undefined behavior." -msgstr "" +msgstr "Estas funciones son similares a sus contrapartes ``PyFunction_Get*``, " +"pero no realizan comprobación de tipos. Pasar algo que no sea una instancia " +"de :c:data:`PyFunction_Type` es un comportamiento indefinido." #: ../Doc/c-api/function.rst:148 msgid "" @@ -224,27 +225,27 @@ msgstr "" #: ../Doc/c-api/function.rst:168 msgid "Enumeration of possible function watcher events:" -msgstr "" +msgstr "Enumeración de los posibles eventos del observador de funciones:" #: ../Doc/c-api/function.rst:170 msgid "``PyFunction_EVENT_CREATE``" -msgstr "" +msgstr "``PyFunction_EVENT_CREATE``" #: ../Doc/c-api/function.rst:171 msgid "``PyFunction_EVENT_DESTROY``" -msgstr "" +msgstr "``PyFunction_EVENT_DESTROY``" #: ../Doc/c-api/function.rst:172 msgid "``PyFunction_EVENT_MODIFY_CODE``" -msgstr "" +msgstr "``PyFunction_EVENT_MODIFY_CODE``" #: ../Doc/c-api/function.rst:173 msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``" -msgstr "" +msgstr "``PyFunction_EVENT_MODIFY_DEFAULTS``" #: ../Doc/c-api/function.rst:174 msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``" -msgstr "" +msgstr "``PyFunction_EVENT_MODIFY_KWDEFAULTS``" #: ../Doc/c-api/function.rst:181 msgid "Type of a function watcher callback function." @@ -271,7 +272,6 @@ msgstr "" "tener efectos impredecibles, incluyendo recursión infinita." #: ../Doc/c-api/function.rst:191 -#, fuzzy msgid "" "If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked " "after *func* has been fully initialized. Otherwise, the callback is invoked " @@ -281,15 +281,14 @@ msgid "" "Although this creates the possibility of an observable difference of runtime " "behavior depending on optimization decisions, it does not change the " "semantics of the Python code being executed." -msgstr "" -"Si *event* es ``PyFunction_EVENT_CREATE``, entonces el callback se invoca " -"después de que `func` haya sido completamente inicializada. De lo contrario, " -"el callback se invoca antes de que tenga lugar la modificación a *func*, por " -"lo que el estado previo de *func* puede ser inspeccionado. Se permite al " -"tiempo de ejecución optimizar la creación de objetos función cuando sea " -"posible. En tales casos no se emitirá ningún evento. Aunque esto crea la " -"posibilidad de una diferencia observable del comportamiento del tiempo de " -"ejecución dependiendo de las decisiones de optimización, no cambia la " +msgstr "Si *event* es ``PyFunction_EVENT_CREATE``, entonces se invoca el " +"*callback* después de que *func* se haya inicializado por completo. En caso " +"contrario, se invoca el *callback* antes de que tenga lugar la modificación " +"de *func*, por lo que se puede inspeccionar el estado previo de *func*. Se " +"permite al tiempo de ejecución optimizar la creación de objetos función " +"cuando sea posible. En tales casos no se emitirá ningún evento. Aunque esto " +"da lugar a la posibilidad de una diferencia observable en el comportamiento " +"del tiempo de ejecución según las decisiones de optimización, no cambia la " "semántica del código Python que se está ejecutando." #: ../Doc/c-api/function.rst:200