Skip to content

Commit 8c4a225

Browse files
xoosephrtobar
andauthored
Translate c-api/call.po (#3422)
Closes #3238 --------- Co-authored-by: rtobar <[email protected]>
1 parent eda657f commit 8c4a225

File tree

1 file changed

+40
-42
lines changed

1 file changed

+40
-42
lines changed

c-api/call.po

Lines changed: 40 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ msgstr ""
99
"Project-Id-Version: Python en Español 3.9\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2024-11-21 16:38-0300\n"
12-
"PO-Revision-Date: 2021-12-09 10:27+0800\n"
12+
"PO-Revision-Date: 2025-10-13 01:01-0600\n"
1313
"Last-Translator: Rodrigo Tobar <[email protected]>\n"
14-
"Language: es\n"
1514
"Language-Team: \n"
16-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
15+
"Language: es\n"
1716
"MIME-Version: 1.0\n"
1817
"Content-Type: text/plain; charset=utf-8\n"
1918
"Content-Transfer-Encoding: 8bit\n"
19+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2020
"Generated-By: Babel 2.16.0\n"
21+
"X-Generator: Poedit 3.7\n"
2122

2223
#: ../Doc/c-api/call.rst:6
2324
msgid "Call Protocol"
@@ -45,6 +46,7 @@ msgstr ""
4546
msgid ""
4647
"PyObject *tp_call(PyObject *callable, PyObject *args, PyObject *kwargs);"
4748
msgstr ""
49+
"PyObject *tp_call(PyObject *callable, PyObject *args, PyObject *kwargs);"
4850

4951
#: ../Doc/c-api/call.rst:19
5052
msgid ""
@@ -69,13 +71,12 @@ msgstr ""
6971
"manera."
7072

7173
#: ../Doc/c-api/call.rst:29
72-
#, fuzzy
7374
msgid ""
7475
"To call an object, use :c:func:`PyObject_Call` or another :ref:`call API "
7576
"<capi-call>`."
7677
msgstr ""
77-
"Para llamar a un objeto, use :c:func:`PyObject_Call` u otro :ref:`call API "
78-
"<capi-call>`."
78+
"Para llamar a un objeto, use :c:func:`PyObject_Call` u otra :ref:`llamada a "
79+
"la API <capi-call>`."
7980

8081
#: ../Doc/c-api/call.rst:36
8182
msgid "The Vectorcall Protocol"
@@ -127,6 +128,12 @@ msgid ""
127128
"versions, vectorcall should only be used with :c:macro:`immutable "
128129
"<Py_TPFLAGS_IMMUTABLETYPE>` or static types."
129130
msgstr ""
131+
"Ahora el indicador :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` se elimina de una "
132+
"clase cuando se reasigna el método de la clase :py:meth:`~object.__call__`. "
133+
"(Esto configura internamente solo :c:member:`~PyTypeObject.tp_call` y, por "
134+
"lo tanto, puede hacer que se comporte de forma diferente a la función "
135+
"vectorcall.) En versiones anteriores de Python, vectorcall solo debería "
136+
"usarse con tipos :c:macro:`immutables <Py_TPFLAGS_IMMUTABLETYPE>` o estáticos."
130137

131138
#: ../Doc/c-api/call.rst:69
132139
msgid ""
@@ -141,7 +148,6 @@ msgstr ""
141148
"tiene sentido implementar vectorcall."
142149

143150
#: ../Doc/c-api/call.rst:74
144-
#, fuzzy
145151
msgid ""
146152
"Classes can implement the vectorcall protocol by enabling the :c:macro:"
147153
"`Py_TPFLAGS_HAVE_VECTORCALL` flag and setting :c:member:`~PyTypeObject."
@@ -150,7 +156,7 @@ msgid ""
150156
"signature:"
151157
msgstr ""
152158
"Las clases pueden implementar el protocolo vectorcall habilitando el "
153-
"indicador :const:`Py_TPFLAGS_HAVE_VECTORCALL` y la configuración :c:member:"
159+
"indicador :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` y la configuración :c:member:"
154160
"`~PyTypeObject.tp_vectorcall_offset` al desplazamiento dentro de la "
155161
"estructura del objeto donde aparece un *vectorcallfunc*. Este es un puntero "
156162
"a una función con la siguiente firma:"
@@ -179,13 +185,13 @@ msgid "*nargsf* is the number of positional arguments plus possibly the"
179185
msgstr "*nargsf* es el número de argumentos posicionales más posiblemente el"
180186

181187
#: ../Doc/c-api/call.rst:87
182-
#, fuzzy
183188
msgid ""
184189
":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag. To get the actual number of "
185190
"positional arguments from *nargsf*, use :c:func:`PyVectorcall_NARGS`."
186191
msgstr ""
187-
"flag :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Para obtener el número real de "
188-
"argumentos posicionales de *nargsf*, use :c:func:`PyVectorcall_NARGS`."
192+
"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`."
189195

190196
#: ../Doc/c-api/call.rst:94
191197
msgid "*kwnames* is a tuple containing the names of the keyword arguments;"
@@ -210,7 +216,7 @@ msgid ""
210216
"argument 1 (not 0) in the allocated vector. The callee must restore the "
211217
"value of ``args[-1]`` before returning."
212218
msgstr ""
213-
"Si este flag se establece en un argumento vectorcall *nargsf*, el "
219+
"Si este indicador se establece en un argumento vectorcall *nargsf*, el "
214220
"destinatario de la llamada puede cambiar temporalmente ``args[-1]``. En "
215221
"otras palabras, *args* apunta al argumento 1 (no 0) en el vector asignado. "
216222
"El destinatario de la llamada debe restaurar el valor de ``args[-1]`` antes "
@@ -221,19 +227,18 @@ msgid ""
221227
"For :c:func:`PyObject_VectorcallMethod`, this flag means instead that "
222228
"``args[0]`` may be changed."
223229
msgstr ""
224-
"Para :c:func:`PyObject_VectorcallMethod`, este flag significa en cambio que "
225-
"``args[0]`` puede cambiarse."
230+
"Para :c:func:`PyObject_VectorcallMethod`, este indicador significa en cambio "
231+
"que ``args[0]`` puede cambiarse."
226232

227233
#: ../Doc/c-api/call.rst:106
228-
#, fuzzy
229234
msgid ""
230235
"Whenever they can do so cheaply (without additional allocation), callers are "
231236
"encouraged to use :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`. Doing so will "
232237
"allow callables such as bound methods to make their onward calls (which "
233238
"include a prepended *self* argument) very efficiently."
234239
msgstr ""
235240
"Siempre que puedan hacerlo de forma económica (sin asignación adicional), se "
236-
"anima a las personas que llaman a utilizar :const:"
241+
"anima a las personas que llaman a utilizar :c:macro:"
237242
"`PY_VECTORCALL_ARGUMENTS_OFFSET`. Si lo hace, permitirá que las personas que "
238243
"llaman, como los métodos enlazados, realicen sus llamadas posteriores (que "
239244
"incluyen un argumento *self* antepuesto) de manera muy eficiente."
@@ -286,7 +291,7 @@ msgstr ""
286291

287292
#: ../Doc/c-api/call.rst:140
288293
msgid "(Py_ssize_t)(nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET)"
289-
msgstr ""
294+
msgstr "(Py_ssize_t)(nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET)"
290295

291296
#: ../Doc/c-api/call.rst:142
292297
msgid ""
@@ -325,7 +330,6 @@ msgstr ""
325330
"posicionales y de palabras clave dados en una tupla y dict, respectivamente."
326331

327332
#: ../Doc/c-api/call.rst:164
328-
#, fuzzy
329333
msgid ""
330334
"This is a specialized function, intended to be put in the :c:member:"
331335
"`~PyTypeObject.tp_call` slot or be used in an implementation of ``tp_call``. "
@@ -334,8 +338,8 @@ msgid ""
334338
msgstr ""
335339
"Esta es una función especializada, destinada a colocarse en el slot :c:"
336340
"member:`~PyTypeObject.tp_call` o usarse en una implementación de "
337-
"``tp_call``. No comprueba el flag :const:`Py_TPFLAGS_HAVE_VECTORCALL` y no "
338-
"vuelve a ``tp_call``."
341+
"``tp_call``. No comprueba el indicador :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` "
342+
"y no vuelve a ``tp_call``."
339343

340344
#: ../Doc/c-api/call.rst:175
341345
msgid "Object Calling API"
@@ -567,12 +571,11 @@ msgstr ""
567571
"ser *NULL*, lo que indica que no se proporcionan argumentos."
568572

569573
#: ../Doc/c-api/call.rst:276
570-
#, fuzzy
571574
msgid ""
572575
"Note that if you only pass :c:expr:`PyObject *` args, :c:func:"
573576
"`PyObject_CallFunctionObjArgs` is a faster alternative."
574577
msgstr ""
575-
"Tenga en cuenta que si solo pasa :c:type:`PyObject *` args, :c:func:"
578+
"Tenga en cuenta que si solo pasa :c:expr:`PyObject *` args, :c:func:"
576579
"`PyObject_CallFunctionObjArgs` es una alternativa más rápida."
577580

578581
#: ../Doc/c-api/call.rst:279
@@ -603,27 +606,25 @@ msgstr ""
603606
"arg2, ...)``."
604607

605608
#: ../Doc/c-api/call.rst:297
606-
#, fuzzy
607609
msgid ""
608610
"Note that if you only pass :c:expr:`PyObject *` args, :c:func:"
609611
"`PyObject_CallMethodObjArgs` is a faster alternative."
610612
msgstr ""
611-
"Tenga en cuenta que si solo pasa :c:type:`PyObject *` args, :c:func:"
613+
"Tenga en cuenta que si solo pasa :c:expr:`PyObject *` args, :c:func:"
612614
"`PyObject_CallMethodObjArgs` es una alternativa más rápida."
613615

614616
#: ../Doc/c-api/call.rst:300
615617
msgid "The types of *name* and *format* were changed from ``char *``."
616618
msgstr "Los tipos de *name* y *format* se cambiaron desde ``char *``."
617619

618620
#: ../Doc/c-api/call.rst:306
619-
#, fuzzy
620621
msgid ""
621622
"Call a callable Python object *callable*, with a variable number of :c:expr:"
622623
"`PyObject *` arguments. The arguments are provided as a variable number of "
623624
"parameters followed by *NULL*."
624625
msgstr ""
625-
"Llame a un objeto de Python invocable *callable*, con un número variable de "
626-
"argumentos :c:type:`PyObject *`. Los argumentos se proporcionan como un "
626+
"Llama a un objeto de Python invocable *callable*, con un número variable de "
627+
"argumentos :c:expr:`PyObject *`. Los argumentos se proporcionan como un "
627628
"número variable de parámetros seguidos de *NULL*."
628629

629630
#: ../Doc/c-api/call.rst:313
@@ -635,7 +636,6 @@ msgstr ""
635636
"arg2, ...)``."
636637

637638
#: ../Doc/c-api/call.rst:319
638-
#, fuzzy
639639
msgid ""
640640
"Call a method of the Python object *obj*, where the name of the method is "
641641
"given as a Python string object in *name*. It is called with a variable "
@@ -644,7 +644,7 @@ msgid ""
644644
msgstr ""
645645
"Llama a un método del objeto de Python *obj*, donde el nombre del método se "
646646
"proporciona como un objeto de cadena de caracteres de Python en *name*. Se "
647-
"llama con un número variable de argumentos :c:type:`PyObject *`. Los "
647+
"llama con un número variable de argumentos :c:expr:`PyObject *`. Los "
648648
"argumentos se proporcionan como un número variable de parámetros seguidos de "
649649
"*NULL*."
650650

@@ -662,7 +662,7 @@ msgid ""
662662
"*arg*, where the name of the method is given as a Python string object in "
663663
"*name*."
664664
msgstr ""
665-
"Llame a un método del objeto de Python *obj* con un único argumento "
665+
"Llama a un método del objeto de Python *obj* con un único argumento "
666666
"posicional *arg*, donde el nombre del método se proporciona como un objeto "
667667
"de cadena de caracteres de Python en *name*."
668668

@@ -701,7 +701,6 @@ msgstr ""
701701
"posicionales."
702702

703703
#: ../Doc/c-api/call.rst:379
704-
#, fuzzy
705704
msgid ""
706705
"Call a method using the vectorcall calling convention. The name of the "
707706
"method is given as a Python string *name*. The object whose method is called "
@@ -713,23 +712,22 @@ msgid ""
713712
"`PyObject_Vectorcall`."
714713
msgstr ""
715714
"Llama a un método usando la convención de llamada vectorcall. El nombre del "
716-
"método se proporciona como una cadena de Python *name*. El objeto cuyo "
717-
"método se llama es *args[0]*, y el arreglo *args* que comienza en *args [1]* "
718-
"representa los argumentos de la llamada. Debe haber al menos un argumento "
719-
"posicional. *nargsf* es el número de argumentos posicionales que incluyen "
720-
"*args [0]*, más :const:`PY_VECTORCALL_ARGUMENTS_OFFSET` si el valor de "
721-
"``args[0]`` puede cambiarse temporalmente. Los argumentos de palabras clave "
722-
"se pueden pasar como en :c:func:`PyObject_Vectorcall`."
715+
"método se proporciona como una cadena de caracteres de Python *name*. El "
716+
"objeto cuyo método se llama es *args[0]*, y el arreglo *args* que comienza "
717+
"en *args [1]* representa los argumentos de la llamada. Debe haber al menos "
718+
"un argumento posicional. *nargsf* es el número de argumentos posicionales "
719+
"que incluyen *args [0]*, más :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` si el "
720+
"valor de ``args[0]`` puede cambiarse temporalmente. Los argumentos de "
721+
"palabras clave se pueden pasar como en :c:func:`PyObject_Vectorcall`."
723722

724723
#: ../Doc/c-api/call.rst:388
725-
#, fuzzy
726724
msgid ""
727725
"If the object has the :c:macro:`Py_TPFLAGS_METHOD_DESCRIPTOR` feature, this "
728726
"will call the unbound method object with the full *args* vector as arguments."
729727
msgstr ""
730-
"Si el objeto tiene la característica :const:`Py_TPFLAGS_METHOD_DESCRIPTOR`, "
731-
"esto llamará al objeto de método independiente con el vector *args* completo "
732-
"como argumentos."
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."
733731

734732
#: ../Doc/c-api/call.rst:399
735733
msgid "Call Support API"

0 commit comments

Comments
 (0)