@@ -11,8 +11,7 @@ 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 : 2022-10-29 23:58-0400\n "
15
- "
Last-Translator :
Rodrigo Tobar <[email protected] >\n "
14
+ "
Last-Translator :
Erick G. Islas-Osuna <[email protected] >\n "
16
15
"Language : es\n "
17
16
"Language-Team : python-doc-es\n "
18
17
"Plural-Forms : nplurals=2; plural=(n != 1);\n "
@@ -55,43 +54,42 @@ msgstr ""
55
54
"subtipo del tipo tupla. Esta función siempre finaliza con éxito."
56
55
57
56
#: ../Doc/c-api/tuple.rst:36
58
- #, fuzzy
59
57
msgid ""
60
58
"Return a new tuple object of size *len*, or ``NULL`` with an exception set "
61
59
"on failure."
62
60
msgstr ""
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."
64
63
65
64
#: ../Doc/c-api/tuple.rst:42
66
- #, fuzzy
67
65
msgid ""
68
66
"Return a new tuple object of size *n*, or ``NULL`` with an exception set on "
69
67
"failure. The tuple values are initialized to the subsequent *n* C arguments "
70
68
"pointing to Python objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
71
69
"``Py_BuildValue(\" (OO)\" , a, b)``."
72
70
msgstr ""
73
- "Retorna un nuevo objeto tupla de tamaño *n*, o ``NULL`` en caso de falla. "
74
- "Los valores de tupla se inicializan en los argumentos 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 inicializan con los siguientes *n* argumentos C "
73
+ "que apuntan a objetos de Python. ``PyTuple_Pack(2, a, b)`` es equivalente a "
76
74
"``Py_BuildValue(\" (OO)\" , a, b)``."
77
75
78
76
#: ../Doc/c-api/tuple.rst:50
79
- #, fuzzy
80
77
msgid ""
81
78
"Take a pointer to a tuple object, and return the size of that tuple. On "
82
79
"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."
84
83
85
84
#: ../Doc/c-api/tuple.rst:56
86
- #, fuzzy
87
85
msgid "Like :c:func:`PyTuple_Size`, but without error checking."
88
- msgstr "Como :c:func:`PyTuple_GetItem `, pero no verifica sus argumentos ."
86
+ msgstr "Como :c:func:`PyTuple_Size `, pero sin verificación de errores ."
89
87
90
88
#: ../Doc/c-api/tuple.rst:61
91
89
msgid ""
92
90
"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 set an :exc: "
94
- "`IndexError` exception."
91
+ "*pos* is negative or out of bounds, return ``NULL`` and set "
92
+ "an :exc: `IndexError` exception."
95
93
msgstr ""
96
94
"Retorna el objeto en la posición *pos* en la tupla señalada por *p*. Si "
97
95
"*pos* es negativo o está fuera de los límites, retorna ``NULL`` y establece "
@@ -101,9 +99,13 @@ msgstr ""
101
99
msgid ""
102
100
"The returned reference is borrowed from the tuple *p* (that is: it is only "
103
101
"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`."
106
104
msgstr ""
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`."
107
109
108
110
#: ../Doc/c-api/tuple.rst:73
109
111
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
@@ -114,16 +116,16 @@ msgid ""
114
116
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
115
117
"``NULL`` with an exception set on failure."
116
118
msgstr ""
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."
117
121
118
122
#: ../Doc/c-api/tuple.rst:81
119
- #, fuzzy
120
123
msgid ""
121
124
"This is the equivalent of the Python expression ``p[low:high]``. Indexing "
122
125
"from the end of the tuple is not supported."
123
126
msgstr ""
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."
127
129
128
130
#: ../Doc/c-api/tuple.rst:87
129
131
msgid ""
@@ -154,20 +156,25 @@ msgstr ""
154
156
#: ../Doc/c-api/tuple.rst:102 ../Doc/c-api/tuple.rst:217
155
157
#: ../Doc/c-api/tuple.rst:235
156
158
msgid ""
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>`."
159
162
msgstr ""
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>`."
160
166
161
167
#: ../Doc/c-api/tuple.rst:107
162
168
msgid ""
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."
166
173
msgstr ""
167
- "Esta función \" roba\" una referencia a *o* y, a diferencia de :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á."
171
178
172
179
#: ../Doc/c-api/tuple.rst:115
173
180
msgid ""
@@ -180,8 +187,8 @@ msgid ""
180
187
"Client code should never assume that the resulting value of ``*p`` will be "
181
188
"the same as before calling this function. If the object referenced by ``*p`` "
182
189
"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`."
185
192
msgstr ""
186
193
"Se puede usar para cambiar el tamaño de una tupla. *newsize* será el nuevo "
187
194
"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"
201
208
202
209
#: ../Doc/c-api/tuple.rst:132
203
210
msgid ""
204
- "Struct sequence objects are the C equivalent of :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."
208
215
msgstr ""
209
216
"Los objetos de secuencia de estructura son el equivalente en C de los "
210
217
"objetos :func:`~collections.namedtuple`, es decir, una secuencia a cuyos "
@@ -215,30 +222,29 @@ msgstr ""
215
222
#: ../Doc/c-api/tuple.rst:139
216
223
msgid ""
217
224
"Create a new struct sequence type from the data in *desc*, described below. "
218
- "Instances of the resulting type can be created with :c:func: "
219
- "`PyStructSequence_New`."
225
+ "Instances of the resulting type can be created "
226
+ "with :c:func: `PyStructSequence_New`."
220
227
msgstr ""
221
228
"Crea un nuevo tipo de secuencia de estructura a partir de los datos en "
222
229
"*desc*, que se describen a continuación. Las instancias del tipo resultante "
223
230
"se pueden crear con :c:func:`PyStructSequence_New`."
224
231
225
232
#: ../Doc/c-api/tuple.rst:142 ../Doc/c-api/tuple.rst:210
226
233
msgid "Return ``NULL`` with an exception set on failure."
227
- msgstr ""
234
+ msgstr "Retorna ``NULL`` con una excepción establecida en caso de falla. "
228
235
229
236
#: ../Doc/c-api/tuple.rst:147
230
237
msgid "Initializes a struct sequence type *type* from *desc* in place."
231
238
msgstr ""
232
239
"Inicializa una secuencia de estructura tipo *type* desde *desc* en su lugar."
233
240
234
241
#: ../Doc/c-api/tuple.rst:152
235
- #, fuzzy
236
242
msgid ""
237
243
"Like :c:func:`PyStructSequence_InitType`, but returns ``0`` on success and "
238
244
"``-1`` with an exception set on failure."
239
245
msgstr ""
240
- "Lo mismo que `` PyStructSequence_InitType` `, pero retorna ``0`` en caso de "
241
- "éxito y ``-1`` en caso de error ."
246
+ "Como :c:func:` PyStructSequence_InitType`, pero retorna ``0`` en caso de "
247
+ "éxito y ``-1`` con una excepción establecida en caso de falla ."
242
248
243
249
#: ../Doc/c-api/tuple.rst:160
244
250
msgid "Contains the meta information of a struct sequence type to create."
@@ -267,21 +273,22 @@ msgstr ""
267
273
#: ../Doc/c-api/tuple.rst:181
268
274
msgid ""
269
275
"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 in the :c: "
271
- "member:`~PyStructSequence_Desc.fields` array of the :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."
274
280
msgstr ""
275
281
"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."
280
287
281
288
#: ../Doc/c-api/tuple.rst:189
282
289
msgid ""
283
- "Name for the field or ``NULL`` to end the list of named fields, set to :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."
285
292
msgstr ""
286
293
"Nombre para el campo o ``NULL`` para finalizar la lista de campos con "
287
294
"nombre, establece en :c:data:`PyStructSequence_UnnamedField` para dejar sin "
@@ -301,29 +308,26 @@ msgstr "El tipo se cambió de ``char *``."
301
308
302
309
#: ../Doc/c-api/tuple.rst:207
303
310
msgid ""
304
- "Creates an instance of *type*, which must have been created with :c:func: "
305
- "`PyStructSequence_NewType`."
311
+ "Creates an instance of *type*, which must have been created "
312
+ "with :c:func: `PyStructSequence_NewType`."
306
313
msgstr ""
307
- "Crea una instancia de *type*, que debe haberse creado con :c:func: "
308
- "`PyStructSequence_NewType`."
314
+ "Crea una instancia de *type*, que debe haberse creado "
315
+ "con :c:func: `PyStructSequence_NewType`."
309
316
310
317
#: ../Doc/c-api/tuple.rst:215
311
- #, fuzzy
312
318
msgid ""
313
319
"Return the object at position *pos* in the struct sequence pointed to by *p*."
314
320
msgstr ""
315
321
"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*."
317
323
318
324
#: ../Doc/c-api/tuple.rst:223
319
- #, fuzzy
320
325
msgid "Alias to :c:func:`PyStructSequence_GetItem`."
321
- msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`."
326
+ msgstr "Alias de :c:func:`PyStructSequence_GetItem`."
322
327
323
328
#: ../Doc/c-api/tuple.rst:225
324
- #, fuzzy
325
329
msgid "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`."
327
331
328
332
#: ../Doc/c-api/tuple.rst:231
329
333
msgid ""
@@ -340,19 +344,17 @@ msgid "This function \"steals\" a reference to *o*."
340
344
msgstr "Esta función \" roba\" una referencia a *o*."
341
345
342
346
#: ../Doc/c-api/tuple.rst:245
343
- #, fuzzy
344
347
msgid "Alias to :c:func:`PyStructSequence_SetItem`."
345
- msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem `."
348
+ msgstr "Alias de :c:func:`PyStructSequence_SetItem `."
346
349
347
350
#: ../Doc/c-api/tuple.rst:247
348
- #, fuzzy
349
351
msgid "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 `."
351
353
352
354
#: ../Doc/c-api/tuple.rst:8
353
355
msgid "object"
354
- msgstr "object "
356
+ msgstr "objeto "
355
357
356
358
#: ../Doc/c-api/tuple.rst:8
357
359
msgid "tuple"
358
- msgstr "tuple "
360
+ msgstr "tupla "
0 commit comments