@@ -11,8 +11,7 @@ msgstr ""
1111"Project-Id-Version :Python 3.8\n "
1212"Report-Msgid-Bugs-To :\n "
1313"POT-Creation-Date :2024-11-21 16:38-0300\n "
14- "PO-Revision-Date :2022-10-29 23:58-0400\n "
15- "Last-Translator :Rodrigo Tobar <rtobarc@gmail.com>\n "
14+ "Last-Translator :Erick G. Islas-Osuna <erickisos653@gmail.com>\n "
1615"Language :es\n "
1716"Language-Team :python-doc-es\n "
1817"Plural-Forms :nplurals=2; plural=(n != 1);\n "
@@ -55,43 +54,42 @@ msgstr ""
5554"subtipo del tipo tupla. Esta función siempre finaliza con éxito."
5655
5756#: ../Doc/c-api/tuple.rst:36
58- #, fuzzy
5957msgid ""
6058"Return a new tuple object of size *len*, or ``NULL`` with an exception set "
6159"on failure."
6260msgstr ""
63- "Retorna un nuevo objeto tupla de tamaño *len* o ``NULL`` en caso de falla."
61+ "Retorna un nuevo objeto tupla de tamaño *len*, o ``NULL`` con una excepción establecida "
62+ "en caso de falla."
6463
6564#: ../Doc/c-api/tuple.rst:42
66- #, fuzzy
6765msgid ""
6866"Return a new tuple object of size *n*, or ``NULL`` with an exception set on "
6967"failure. The tuple values are initialized to the subsequent *n* C arguments "
7068"pointing to Python objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
7169"``Py_BuildValue(\" (OO)\" , a, b)``."
7270msgstr ""
73- "Retorna un nuevo objeto tupla de tamaño *n*, o ``NULL``en caso de falla. "
74- "Los valores de tupla se inicializanen losargumentos C posteriores *n*que "
75- "apuntan a objetos de Python. ``PyTuple_Pack (2, a, b)`` es equivalente a "
71+ "Retorna un nuevo objeto tupla de tamaño *n*, o ``NULL``con una excepción establecida en "
72+ "caso de falla. Los valores de tupla se inicializancon lossiguientes *n*argumentos C "
73+ "que apuntan a objetos de Python. ``PyTuple_Pack(2, a, b)`` es equivalente a "
7674"``Py_BuildValue(\" (OO)\" , a, b)``."
7775
7876#: ../Doc/c-api/tuple.rst:50
79- #, fuzzy
8077msgid ""
8178"Take a pointer to a tuple object, and return the size of that tuple. On "
8279"error, return ``-1`` and with an exception set."
83- msgstr "Toma un puntero a un objeto de tupla y retorna el tamaño de esa tupla."
80+ msgstr ""
81+ "Toma un puntero a un objeto tupla y retorna el tamaño de esa tupla. En caso "
82+ "de error, retorna ``-1`` con una excepción establecida."
8483
8584#: ../Doc/c-api/tuple.rst:56
86- #, fuzzy
8785msgid "Like :c:func:`PyTuple_Size`, but without error checking."
88- msgstr "Como :c:func:`PyTuple_GetItem `, perono verifica sus argumentos ."
86+ msgstr "Como :c:func:`PyTuple_Size `, perosin verificación de errores ."
8987
9088#: ../Doc/c-api/tuple.rst:61
9189msgid ""
9290"Return the object at position *pos* in the tuple pointed to by *p*. If "
93- "*pos* is negative or out of bounds, return ``NULL`` and setan :exc: "
94- "`IndexError` exception."
91+ "*pos* is negative or out of bounds, return ``NULL`` and set "
92+ "an :exc: `IndexError` exception."
9593msgstr ""
9694"Retorna el objeto en la posición *pos* en la tupla señalada por *p*. Si "
9795"*pos* es negativo o está fuera de los límites, retorna ``NULL`` y establece "
@@ -101,9 +99,13 @@ msgstr ""
10199msgid ""
102100"The returned reference is borrowed from the tuple *p* (that is: it is only "
103101"valid as long as you hold a reference to *p*). To get a :term:`strong "
104- "reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>`or :c: "
105- "func:`PySequence_GetItem`."
102+ "reference`, use :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` "
103+ "or :c: func:`PySequence_GetItem`."
106104msgstr ""
105+ "La referencia retornada es prestada de la tupla *p* (es decir: solo es "
106+ "válida mientras mantengas una referencia a *p*). Para obtener una :term:`referencia "
107+ "fuerte`, usa :c:func:`Py_NewRef(PyTuple_GetItem(...)) <Py_NewRef>` "
108+ "o :c:func:`PySequence_GetItem`."
107109
108110#: ../Doc/c-api/tuple.rst:73
109111msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
@@ -114,16 +116,16 @@ msgid ""
114116"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
115117"``NULL`` with an exception set on failure."
116118msgstr ""
119+ "Retorna la rebanada de la tupla apuntada por *p* entre *low* y *high*, o "
120+ "``NULL`` con una excepción establecida en caso de falla."
117121
118122#: ../Doc/c-api/tuple.rst:81
119- #, fuzzy
120123msgid ""
121124"This is the equivalent of the Python expression ``p[low:high]``. Indexing "
122125"from the end of the tuple is not supported."
123126msgstr ""
124- "Retorna la porción de la tupla señalada por *p* entre *low* y *high*, o "
125- "``NULL`` en caso de falla. Este es el equivalente de la expresión de Python "
126- "``p[low:high]``. La indexación desde el final de la tupla no es compatible."
127+ "Esto es equivalente a la expresión de Python ``p[low:high]``. La indexación "
128+ "desde el final de la tupla no es compatible."
127129
128130#: ../Doc/c-api/tuple.rst:87
129131msgid ""
@@ -154,20 +156,25 @@ msgstr ""
154156#: ../Doc/c-api/tuple.rst:102 ../Doc/c-api/tuple.rst:217
155157#: ../Doc/c-api/tuple.rst:235
156158msgid ""
157- "Bounds checking is performed as an assertion if Python is built in :ref:"
158- "`debug mode <debug-build>` or :option:`with assertions <--with-assertions>`."
159+ "Bounds checking is performed as an assertion if Python is built "
160+ "in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-"
161+ "assertions>`."
159162msgstr ""
163+ "La comprobación de límites se realiza como una aserción si Python se "
164+ "construye en :ref:`modo de depuración <debug-build>` o :option:`con "
165+ "aserciones <--with-assertions>`."
160166
161167#: ../Doc/c-api/tuple.rst:107
162168msgid ""
163- "This function\" steals\" a reference to *o*, and, unlike :c:func:"
164- "`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
165- "replaced; any reference in the tuple at position *pos* will be leaked."
169+ "This function\" steals\" a reference to *o*, and, "
170+ "unlike :c:func:`PyTuple_SetItem`, does *not* discard a reference to any item "
171+ "that is being replaced; any reference in the tuple at position *pos* will be "
172+ "leaked."
166173msgstr ""
167- "Esta función\" roba\" una referencia a *o* y, a diferenciade :c:func: "
168- "`PyTuple_SetItem`, *no* descarta una referencia a ningún elemento que se "
169- "está reemplazando; cualquier referencia en la tupla en la posición *pos* se "
170- "filtrará."
174+ "Esta función\" roba\" una referencia a *o* y, a diferencia "
175+ "de :c:func: `PyTuple_SetItem`, *no* descarta una referencia a ningún elemento "
176+ "que se está reemplazando; cualquier referencia en la tupla en la posición "
177+ "*pos* se filtrará."
171178
172179#: ../Doc/c-api/tuple.rst:115
173180msgid ""
@@ -180,8 +187,8 @@ msgid ""
180187"Client code should never assume that the resulting value of ``*p`` will be "
181188"the same as before calling this function. If the object referenced by ``*p`` "
182189"is replaced, the original ``*p`` is destroyed. On failure, returns ``-1`` "
183- "and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError`or :exc: "
184- "`SystemError`."
190+ "and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` "
191+ "or :exc: `SystemError`."
185192msgstr ""
186193"Se puede usar para cambiar el tamaño de una tupla. *newsize* será el nuevo "
187194"tamaño de la tupla. Debido a que se *supone* que las tuplas son inmutables, "
@@ -201,10 +208,10 @@ msgstr "Objetos de secuencia de estructura"
201208
202209#: ../Doc/c-api/tuple.rst:132
203210msgid ""
204- "Struct sequence objects are the C equivalentof :func:`~collections. "
205- "namedtuple` objects, i.e. a sequence whose items can also be accessed "
206- "through attributes. To create a struct sequence, you first have to create a "
207- "specific struct sequence type."
211+ "Struct sequence objects are the C equivalent "
212+ "of :func:`~collections. namedtuple` objects, i.e. a sequence whose items can "
213+ "also be accessed through attributes. To create a struct sequence, you first "
214+ "have to create a specific struct sequence type."
208215msgstr ""
209216"Los objetos de secuencia de estructura son el equivalente en C de los "
210217"objetos :func:`~collections.namedtuple`, es decir, una secuencia a cuyos "
@@ -215,30 +222,29 @@ msgstr ""
215222#: ../Doc/c-api/tuple.rst:139
216223msgid ""
217224"Create a new struct sequence type from the data in *desc*, described below. "
218- "Instances of the resulting type can be createdwith :c:func: "
219- "`PyStructSequence_New`."
225+ "Instances of the resulting type can be created "
226+ "with :c:func: `PyStructSequence_New`."
220227msgstr ""
221228"Crea un nuevo tipo de secuencia de estructura a partir de los datos en "
222229"*desc*, que se describen a continuación. Las instancias del tipo resultante "
223230"se pueden crear con :c:func:`PyStructSequence_New`."
224231
225232#: ../Doc/c-api/tuple.rst:142 ../Doc/c-api/tuple.rst:210
226233msgid "Return ``NULL`` with an exception set on failure."
227- msgstr ""
234+ msgstr "Retorna ``NULL`` con una excepción establecida en caso de falla. "
228235
229236#: ../Doc/c-api/tuple.rst:147
230237msgid "Initializes a struct sequence type *type* from *desc* in place."
231238msgstr ""
232239"Inicializa una secuencia de estructura tipo *type* desde *desc* en su lugar."
233240
234241#: ../Doc/c-api/tuple.rst:152
235- #, fuzzy
236242msgid ""
237243"Like :c:func:`PyStructSequence_InitType`, but returns ``0`` on success and "
238244"``-1`` with an exception set on failure."
239245msgstr ""
240- "Lo mismo que `` PyStructSequence_InitType` `, pero retorna ``0`` en caso de "
241- "éxito y ``-1`` en caso deerror ."
246+ "Como :c:func:` PyStructSequence_InitType`, pero retorna ``0`` en caso de "
247+ "éxito y ``-1``con una excepción establecida en caso defalla ."
242248
243249#: ../Doc/c-api/tuple.rst:160
244250msgid "Contains the meta information of a struct sequence type to create."
@@ -267,21 +273,22 @@ msgstr ""
267273#: ../Doc/c-api/tuple.rst:181
268274msgid ""
269275"Describes a field of a struct sequence. As a struct sequence is modeled as a "
270- "tuple, all fields are typed as :c:expr:`PyObject*`. The index inthe :c: "
271- "member:`~PyStructSequence_Desc.fields` array ofthe :c:type: "
272- "`PyStructSequence_Desc` determines which field of the struct sequence is "
273- "described."
276+ "tuple, all fields are typed as :c:expr:`PyObject*`. The index in "
277+ "the :c: member:`~PyStructSequence_Desc.fields` array of "
278+ "the :c:type: `PyStructSequence_Desc` determines which field of the struct "
279+ "sequence is described."
274280msgstr ""
275281"Describe un campo de una secuencia de estructura. Como una secuencia de "
276- "estructura se modela como una tupla, todos los campos se escriben como :c:"
277- "expr:`PyObject*`. El índice en el arreglo :c:member:`~PyStructSequence_Desc."
278- "fields` de :c:type:`PyStructSequence_Desc` determina qué campo de la "
279- "secuencia de estructura se describe."
282+ "estructura se modela como una tupla, todos los campos se escriben "
283+ "como :c:expr:`PyObject*`. El índice en el "
284+ "arreglo :c:member:`~PyStructSequence_Desc.fields` "
285+ "de :c:type:`PyStructSequence_Desc` determina qué campo de la secuencia de "
286+ "estructura se describe."
280287
281288#: ../Doc/c-api/tuple.rst:189
282289msgid ""
283- "Name for the field or ``NULL`` to end the list of named fields, setto :c: "
284- "data:`PyStructSequence_UnnamedField` to leave unnamed."
290+ "Name for the field or ``NULL`` to end the list of named fields, set "
291+ "to :c: data:`PyStructSequence_UnnamedField` to leave unnamed."
285292msgstr ""
286293"Nombre para el campo o ``NULL`` para finalizar la lista de campos con "
287294"nombre, establece en :c:data:`PyStructSequence_UnnamedField` para dejar sin "
@@ -301,29 +308,26 @@ msgstr "El tipo se cambió de ``char *``."
301308
302309#: ../Doc/c-api/tuple.rst:207
303310msgid ""
304- "Creates an instance of *type*, which must have been createdwith :c:func: "
305- "`PyStructSequence_NewType`."
311+ "Creates an instance of *type*, which must have been created "
312+ "with :c:func: `PyStructSequence_NewType`."
306313msgstr ""
307- "Crea una instancia de *type*, que debe haberse creadocon :c:func: "
308- "`PyStructSequence_NewType`."
314+ "Crea una instancia de *type*, que debe haberse creado "
315+ "con :c:func: `PyStructSequence_NewType`."
309316
310317#: ../Doc/c-api/tuple.rst:215
311- #, fuzzy
312318msgid ""
313319"Return the object at position *pos* in the struct sequence pointed to by *p*."
314320msgstr ""
315321"Retorna el objeto en la posición *pos* en la secuencia de estructura "
316- "apuntada por *p*. No se realiza la comprobación de límites. "
322+ "apuntada por *p*."
317323
318324#: ../Doc/c-api/tuple.rst:223
319- #, fuzzy
320325msgid "Alias to :c:func:`PyStructSequence_GetItem`."
321- msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
326+ msgstr "Alias de :c:func:`PyStructSequence_GetItem`."
322327
323328#: ../Doc/c-api/tuple.rst:225
324- #, fuzzy
325329msgid "Now implemented as an alias to :c:func:`PyStructSequence_GetItem`."
326- msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
330+ msgstr "Ahora implementado como un alias de :c:func:`PyStructSequence_GetItem`."
327331
328332#: ../Doc/c-api/tuple.rst:231
329333msgid ""
@@ -340,19 +344,17 @@ msgid "This function \"steals\" a reference to *o*."
340344msgstr "Esta función\" roba\" una referencia a *o*."
341345
342346#: ../Doc/c-api/tuple.rst:245
343- #, fuzzy
344347msgid "Alias to :c:func:`PyStructSequence_SetItem`."
345- msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem `."
348+ msgstr "Alias de :c:func:`PyStructSequence_SetItem `."
346349
347350#: ../Doc/c-api/tuple.rst:247
348- #, fuzzy
349351msgid "Now implemented as an alias to :c:func:`PyStructSequence_SetItem`."
350- msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem `."
352+ msgstr "Ahora implementado como un alias de :c:func:`PyStructSequence_SetItem `."
351353
352354#: ../Doc/c-api/tuple.rst:8
353355msgid "object"
354- msgstr "object "
356+ msgstr "objeto "
355357
356358#: ../Doc/c-api/tuple.rst:8
357359msgid "tuple"
358- msgstr "tuple "
360+ msgstr "tupla "