@@ -63,12 +63,13 @@ msgstr ""
6363
6464#: ../Doc/c-api/call.rst:25
6565msgid ""
66- "This convention is not only used by *tp_call*: :c:member:`~PyTypeObject."
67- "tp_new` and :c:member:`~PyTypeObject.tp_init` also pass arguments this way."
66+ "This convention is not only used by "
67+ "*tp_call*: :c:member:`~PyTypeObject.tp_new` "
68+ "and :c:member:`~PyTypeObject.tp_init` also pass arguments this way."
6869msgstr ""
69- "Esta convención no solo es utilizada por *tp_call*: :c:member:`~PyTypeObject. "
70- "tp_new` y :c:member:`~PyTypeObject.tp_init` también pasan argumentos de esta "
71- "manera."
70+ "Esta convención no solo es utilizada por "
71+ "*tp_call*: :c:member:`~PyTypeObject.tp_new` "
72+ "y :c:member:`~PyTypeObject.tp_init` también pasan argumentos de esta manera."
7273
7374#: ../Doc/c-api/call.rst:29
7475msgid ""
@@ -94,12 +95,13 @@ msgstr ""
9495msgid ""
9596"As rule of thumb, CPython will prefer the vectorcall for internal calls if "
9697"the callable supports it. However, this is not a hard rule. Additionally, "
97- "some third-party extensions use *tp_call* directly (rather than using :c:"
98- "func:`PyObject_Call`). Therefore, a class supporting vectorcall must also "
99- "implement :c:member:`~PyTypeObject.tp_call`. Moreover, the callable must "
100- "behave the same regardless of which protocol is used. The recommended way to "
101- "achieve this is by setting :c:member:`~PyTypeObject.tp_call` to :c:func:"
102- "`PyVectorcall_Call`. This bears repeating:"
98+ "some third-party extensions use *tp_call* directly (rather than "
99+ "using :c:func:`PyObject_Call`). Therefore, a class supporting vectorcall "
100+ "must also implement :c:member:`~PyTypeObject.tp_call`. Moreover, the "
101+ "callable must behave the same regardless of which protocol is used. The "
102+ "recommended way to achieve this is by "
103+ "setting :c:member:`~PyTypeObject.tp_call` to :c:func:`PyVectorcall_Call`. "
104+ "This bears repeating:"
103105msgstr ""
104106"Como regla general, CPython preferirá el vectorcall para llamadas internas "
105107"si el invocable lo admite. Sin embargo, esta no es una regla estricta. "
@@ -108,16 +110,16 @@ msgstr ""
108110"vectorcall también debe implementar :c:member:`~PyTypeObject.tp_call`. "
109111"Además, el invocable debe comportarse de la misma manera independientemente "
110112"del protocolo que se utilice. La forma recomendada de lograr esto es "
111- "configurando :c:member:`~PyTypeObject.tp_call` en :c:func: "
112- "`PyVectorcall_Call`. Vale la pena repetirlo:"
113+ "configurando :c:member:`~PyTypeObject.tp_call` "
114+ "en :c:func: `PyVectorcall_Call`. Vale la pena repetirlo:"
113115
114116#: ../Doc/c-api/call.rst:57
115117msgid ""
116- "A class supporting vectorcall **must** also implement :c:member: "
117- "`~PyTypeObject.tp_call` with the same semantics."
118+ "A class supporting vectorcall **must** also "
119+ "implement :c:member: `~PyTypeObject.tp_call` with the same semantics."
118120msgstr ""
119- "Una clase que admita vectorcall **debe** también implementar :c:member: "
120- "`~PyTypeObject.tp_call` con la misma semántica."
121+ "Una clase que admita vectorcall **debe** también "
122+ "implementar :c:member: `~PyTypeObject.tp_call` con la misma semántica."
121123
122124#: ../Doc/c-api/call.rst:62
123125msgid ""
@@ -133,7 +135,8 @@ msgstr ""
133135"(Esto configura internamente solo :c:member:`~PyTypeObject.tp_call` y, por "
134136"lo tanto, puede hacer que se comporte de forma diferente a la función "
135137"vectorcall.) En versiones anteriores de Python, vectorcall solo debería "
136- "usarse con tipos :c:macro:`immutables <Py_TPFLAGS_IMMUTABLETYPE>` o estáticos."
138+ "usarse con tipos :c:macro:`immutables <Py_TPFLAGS_IMMUTABLETYPE>` o "
139+ "estáticos."
137140
138141#: ../Doc/c-api/call.rst:69
139142msgid ""
@@ -149,17 +152,17 @@ msgstr ""
149152
150153#: ../Doc/c-api/call.rst:74
151154msgid ""
152- "Classes can implement the vectorcall protocol by enabling the :c:macro: "
153- "`Py_TPFLAGS_HAVE_VECTORCALL` flag and setting :c:member:`~PyTypeObject. "
154- "tp_vectorcall_offset` to the offset inside the object structure where a "
155- "*vectorcallfunc* appears. This is a pointer to a function with the following "
156- "signature:"
155+ "Classes can implement the vectorcall protocol by enabling "
156+ "the :c:macro: `Py_TPFLAGS_HAVE_VECTORCALL` flag and "
157+ "setting :c:member:`~PyTypeObject. tp_vectorcall_offset` to the offset inside "
158+ "the object structure where a *vectorcallfunc* appears. This is a pointer to "
159+ "a function with the following signature:"
157160msgstr ""
158161"Las clases pueden implementar el protocolo vectorcall habilitando el "
159- "indicador :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` y la configuración :c:member: "
160- "`~PyTypeObject.tp_vectorcall_offset` al desplazamiento dentro de la "
161- "estructura del objeto donde aparece un *vectorcallfunc*. Este es un puntero "
162- "a una función con la siguiente firma:"
162+ "indicador :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` y la "
163+ "configuración :c:member: `~PyTypeObject.tp_vectorcall_offset` al "
164+ "desplazamiento dentro de la estructura del objeto donde aparece un "
165+ "*vectorcallfunc*. Este es un puntero a una función con la siguiente firma:"
163166
164167#: ../Doc/c-api/call.rst:82
165168msgid "*callable* is the object being called."
@@ -190,8 +193,8 @@ msgid ""
190193"positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
191194msgstr ""
192195"indicador :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Para obtener el número "
193- "real de argumentos posicionales de *nargsf*, use :c:func: "
194- "`PyVectorcall_NARGS`."
196+ "real de argumentos posicionales de *nargsf*, "
197+ "use :c:func: `PyVectorcall_NARGS`."
195198
196199#: ../Doc/c-api/call.rst:94
197200msgid "*kwnames* is a tuple containing the names of the keyword arguments;"
@@ -238,20 +241,21 @@ msgid ""
238241"include a prepended *self* argument) very efficiently."
239242msgstr ""
240243"Siempre que puedan hacerlo de forma económica (sin asignación adicional), se "
241- "anima a las personas que llaman a utilizar :c:macro:"
242- "`PY_VECTORCALL_ARGUMENTS_OFFSET`. Si lo hace, permitirá que las personas que "
243- "llaman, como los métodos enlazados, realicen sus llamadas posteriores (que "
244- "incluyen un argumento *self* antepuesto) de manera muy eficiente."
244+ "anima a las personas que llaman a "
245+ "utilizar :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Si lo hace, permitirá "
246+ "que las personas que llaman, como los métodos enlazados, realicen sus "
247+ "llamadas posteriores (que incluyen un argumento *self* antepuesto) de manera "
248+ "muy eficiente."
245249
246250#: ../Doc/c-api/call.rst:113
247251msgid ""
248252"To call an object that implements vectorcall, use a :ref:`call API <capi-"
249253"call>` function as with any other callable. :c:func:`PyObject_Vectorcall` "
250254"will usually be most efficient."
251255msgstr ""
252- "Para llamar a un objeto que implementa vectorcall, use una función :ref: "
253- "`call API <capi-call>` como con cualquier otro invocable. :c:func: "
254- "`PyObject_Vectorcall` normalmente será más eficiente."
256+ "Para llamar a un objeto que implementa vectorcall, use una "
257+ "función :ref: `call API <capi-call>` como con cualquier otro "
258+ "invocable. :c:func: `PyObject_Vectorcall` normalmente será más eficiente."
255259
256260#: ../Doc/c-api/call.rst:119
257261msgid "Recursion Control"
@@ -260,12 +264,13 @@ msgstr "Control de recursión"
260264#: ../Doc/c-api/call.rst:121
261265msgid ""
262266"When using *tp_call*, callees do not need to worry about :ref:`recursion "
263- "<recursion>`: CPython uses :c:func:`Py_EnterRecursiveCall` and :c:func: "
264- "`Py_LeaveRecursiveCall` for calls made using *tp_call*."
267+ "<recursion>`: CPython uses :c:func:`Py_EnterRecursiveCall` "
268+ "and :c:func: `Py_LeaveRecursiveCall` for calls made using *tp_call*."
265269msgstr ""
266- "Cuando se usa *tp_call*, los destinatarios no necesitan preocuparse por :ref:"
267- "`recursividad <recursion>`: CPython usa :c:func:`Py_EnterRecursiveCall` y :c:"
268- "func:`Py_LeaveRecursiveCall` para llamadas realizadas usando *tp_call*."
270+ "Cuando se usa *tp_call*, los destinatarios no necesitan preocuparse "
271+ "por :ref:`recursividad <recursion>`: CPython "
272+ "usa :c:func:`Py_EnterRecursiveCall` y :c:func:`Py_LeaveRecursiveCall` para "
273+ "llamadas realizadas usando *tp_call*."
269274
270275#: ../Doc/c-api/call.rst:126
271276msgid ""
@@ -331,13 +336,13 @@ msgstr ""
331336
332337#: ../Doc/c-api/call.rst:164
333338msgid ""
334- "This is a specialized function, intended to be put in the :c:member: "
335- "`~PyTypeObject.tp_call` slot or be used in an implementation of ``tp_call``. "
336- "It does not check the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag and it does "
337- "not fall back to ``tp_call``."
339+ "This is a specialized function, intended to be put in "
340+ "the :c:member: `~PyTypeObject.tp_call` slot or be used in an implementation "
341+ "of ``tp_call``. It does not check the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` "
342+ "flag and it does not fall back to ``tp_call``."
338343msgstr ""
339- "Esta es una función especializada, destinada a colocarse en el slot :c: "
340- "member:`~PyTypeObject.tp_call` o usarse en una implementación de "
344+ "Esta es una función especializada, destinada a colocarse en el "
345+ "slot :c: member:`~PyTypeObject.tp_call` o usarse en una implementación de "
341346"``tp_call``. No comprueba el indicador :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` "
342347"y no vuelve a ``tp_call``."
343348
@@ -572,11 +577,11 @@ msgstr ""
572577
573578#: ../Doc/c-api/call.rst:276
574579msgid ""
575- "Note that if you only pass :c:expr:`PyObject *` args, :c:func: "
576- "`PyObject_CallFunctionObjArgs` is a faster alternative."
580+ "Note that if you only pass :c:expr:`PyObject *` "
581+ "args, :c:func: `PyObject_CallFunctionObjArgs` is a faster alternative."
577582msgstr ""
578- "Tenga en cuenta que si solo pasa :c:expr:`PyObject *` args, :c:func: "
579- "`PyObject_CallFunctionObjArgs` es una alternativa más rápida."
583+ "Tenga en cuenta que si solo pasa :c:expr:`PyObject *` "
584+ "args, :c:func: `PyObject_CallFunctionObjArgs` es una alternativa más rápida."
580585
581586#: ../Doc/c-api/call.rst:279
582587msgid "The type of *format* was changed from ``char *``."
@@ -607,21 +612,21 @@ msgstr ""
607612
608613#: ../Doc/c-api/call.rst:297
609614msgid ""
610- "Note that if you only pass :c:expr:`PyObject *` args, :c:func: "
611- "`PyObject_CallMethodObjArgs` is a faster alternative."
615+ "Note that if you only pass :c:expr:`PyObject *` "
616+ "args, :c:func: `PyObject_CallMethodObjArgs` is a faster alternative."
612617msgstr ""
613- "Tenga en cuenta que si solo pasa :c:expr:`PyObject *` args, :c:func: "
614- "`PyObject_CallMethodObjArgs` es una alternativa más rápida."
618+ "Tenga en cuenta que si solo pasa :c:expr:`PyObject *` "
619+ "args, :c:func: `PyObject_CallMethodObjArgs` es una alternativa más rápida."
615620
616621#: ../Doc/c-api/call.rst:300
617622msgid "The types of *name* and *format* were changed from ``char *``."
618623msgstr "Los tipos de *name* y *format* se cambiaron desde ``char *``."
619624
620625#: ../Doc/c-api/call.rst:306
621626msgid ""
622- "Call a callable Python object *callable*, with a variable number of :c:expr: "
623- "`PyObject *` arguments. The arguments are provided as a variable number of "
624- "parameters followed by *NULL*."
627+ "Call a callable Python object *callable*, with a variable number "
628+ "of :c:expr: `PyObject *` arguments. The arguments are provided as a variable "
629+ "number of parameters followed by *NULL*."
625630msgstr ""
626631"Llama a un objeto de Python invocable *callable*, con un número variable de "
627632"argumentos :c:expr:`PyObject *`. Los argumentos se proporcionan como un "
@@ -668,9 +673,9 @@ msgstr ""
668673
669674#: ../Doc/c-api/call.rst:353
670675msgid ""
671- "Call a callable Python object *callable*. The arguments are the same as for : "
672- "c:type:`vectorcallfunc`. If *callable* supports vectorcall_, this directly "
673- "calls the vectorcall function stored in *callable*."
676+ "Call a callable Python object *callable*. The arguments are the same as "
677+ "for : c:type:`vectorcallfunc`. If *callable* supports vectorcall_, this "
678+ "directly calls the vectorcall function stored in *callable*."
674679msgstr ""
675680"Llama a un objeto de Python invocable *callable*. Los argumentos son los "
676681"mismos que para :c:type:`vectorcallfunc`. Si *callable* admite vectorcall_, "
@@ -706,10 +711,10 @@ msgid ""
706711"method is given as a Python string *name*. The object whose method is called "
707712"is *args[0]*, and the *args* array starting at *args[1]* represents the "
708713"arguments of the call. There must be at least one positional argument. "
709- "*nargsf* is the number of positional arguments including *args[0]*, plus :c: "
710- "macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` may "
711- "temporarily be changed. Keyword arguments can be passed just like in :c:func: "
712- "`PyObject_Vectorcall`."
714+ "*nargsf* is the number of positional arguments including *args[0]*, "
715+ "plus :c: macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` if the value of ``args[0]`` "
716+ "may temporarily be changed. Keyword arguments can be passed just like "
717+ "in :c:func: `PyObject_Vectorcall`."
713718msgstr ""
714719"Llama a un método usando la convención de llamada vectorcall. El nombre del "
715720"método se proporciona como una cadena de caracteres de Python *name*. El "
@@ -725,9 +730,9 @@ msgid ""
725730"If the object has the :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
726731"will call the unbound method object with the full *args* vector as arguments."
727732msgstr ""
728- "Si el objeto tiene la característica :c:macro: "
729- "`Py_TPFLAGS_METHOD_DESCRIPTOR`, esto llamará al objeto de método "
730- "independiente con el vector *args* completo como argumentos."
733+ "Si el objeto tiene la "
734+ "característica :c:macro: `Py_TPFLAGS_METHOD_DESCRIPTOR`, esto llamará al "
735+ "objeto de método independiente con el vector *args* completo como argumentos."
731736
732737#: ../Doc/c-api/call.rst:399
733738msgid "Call Support API"
0 commit comments