6
6
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
7
7
# get the list of volunteers
8
8
#
9
- #, fuzzy
10
9
msgid ""
11
10
msgstr ""
12
11
"Project-Id-Version : Python 3.8\n "
13
12
"Report-Msgid-Bugs-To : \n "
14
13
"POT-Creation-Date : 2020-05-05 12:54+0200\n "
15
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
16
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
+ "PO-Revision-Date : 2020-05-17 21:12+0200\n "
17
15
"Language-Team : python-doc-es\n "
18
16
"MIME-Version : 1.0\n "
19
- "Content-Type : text/plain; charset=utf -8\n "
17
+ "Content-Type : text/plain; charset=UTF -8\n "
20
18
"Content-Transfer-Encoding : 8bit\n "
21
19
"Generated-By : Babel 2.8.0\n "
20
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21
+ "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
22
+ "Language : es\n "
23
+ "X-Generator : Poedit 2.3\n "
22
24
23
25
#: ../Doc/c-api/tuple.rst:6
24
26
msgid "Tuple Objects"
25
- msgstr ""
27
+ msgstr "Objetos Tuplas "
26
28
27
29
#: ../Doc/c-api/tuple.rst:13
28
30
msgid "This subtype of :c:type:`PyObject` represents a Python tuple object."
29
31
msgstr ""
32
+ "Este subtipo de :c:type:`PyObject` representa un objeto tupla de Python."
30
33
31
34
#: ../Doc/c-api/tuple.rst:18
32
35
msgid ""
33
36
"This instance of :c:type:`PyTypeObject` represents the Python tuple type; it "
34
37
"is the same object as :class:`tuple` in the Python layer."
35
38
msgstr ""
39
+ "Esta instancia de :c:type:`PyTypeObject` representa el tipo tupla de Python; "
40
+ "es el mismo objeto que :class:`tuple` en la capa de Python."
36
41
37
42
#: ../Doc/c-api/tuple.rst:24
38
43
msgid ""
39
44
"Return true if *p* is a tuple object or an instance of a subtype of the "
40
45
"tuple type."
41
46
msgstr ""
47
+ "Retorna verdadero si *p* es un objeto tupla o una instancia de un subtipo "
48
+ "del tipo tupla."
42
49
43
50
#: ../Doc/c-api/tuple.rst:30
44
51
msgid ""
45
52
"Return true if *p* is a tuple object, but not an instance of a subtype of "
46
53
"the tuple type."
47
54
msgstr ""
55
+ "Retorna verdadero si *p* es un objeto tupla pero no una instancia de un "
56
+ "subtipo del tipo tupla."
48
57
49
58
#: ../Doc/c-api/tuple.rst:36
50
59
msgid "Return a new tuple object of size *len*, or ``NULL`` on failure."
51
60
msgstr ""
61
+ "Retorna un nuevo objeto tupla de tamaño *len* o ``NULL`` en caso de falla."
52
62
53
63
#: ../Doc/c-api/tuple.rst:41
54
64
msgid ""
@@ -57,60 +67,83 @@ msgid ""
57
67
"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
58
68
"``Py_BuildValue(\" (OO)\" , a, b)``."
59
69
msgstr ""
70
+ "Retorna un nuevo objeto tupla de tamaño *n*, o ``NULL`` en caso de falla. "
71
+ "Los valores de tupla se inicializan en los argumentos C posteriores *n* que "
72
+ "apuntan a objetos de Python. ``PyTuple_Pack (2, a, b)`` es equivalente a "
73
+ "``Py_BuildValue(\" (OO)\" , a, b)``."
60
74
61
75
#: ../Doc/c-api/tuple.rst:48
62
76
msgid "Take a pointer to a tuple object, and return the size of that tuple."
63
- msgstr ""
77
+ msgstr "Toma un puntero a un objeto de tupla y retorna el tamaño de esa tupla. "
64
78
65
79
#: ../Doc/c-api/tuple.rst:53
66
80
msgid ""
67
81
"Return the size of the tuple *p*, which must be non-``NULL`` and point to a "
68
82
"tuple; no error checking is performed."
69
83
msgstr ""
84
+ "Retorna el tamaño de la tupla *p*, que no debe ser ``NULL`` y apunta a una "
85
+ "tupla; No se realiza ninguna comprobación de errores."
70
86
71
87
#: ../Doc/c-api/tuple.rst:59
72
88
msgid ""
73
89
"Return the object at position *pos* in the tuple pointed to by *p*. If "
74
90
"*pos* is out of bounds, return ``NULL`` and set an :exc:`IndexError` "
75
91
"exception."
76
92
msgstr ""
93
+ "Retorna el objeto en la posición *pos* en la tupla señalada por *p*. Si "
94
+ "*pos* está fuera de los límites, retorna ``NULL`` y establece una excepción :"
95
+ "exc:`IndexError`."
77
96
78
97
#: ../Doc/c-api/tuple.rst:65
79
98
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
80
- msgstr ""
99
+ msgstr "Como :c:func:`PyTuple_GetItem`, pero no verifica sus argumentos. "
81
100
82
101
#: ../Doc/c-api/tuple.rst:70
83
102
msgid ""
84
103
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
85
104
"``NULL`` on failure. This is the equivalent of the Python expression "
86
105
"``p[low:high]``. Indexing from the end of the list is not supported."
87
106
msgstr ""
107
+ "Retorna la porción de la tupla señalada por *p* entre *low* y *high*, o "
108
+ "``NULL`` en caso de falla. Este es el equivalente de la expresión de Python "
109
+ "``p[bajo:alto]``. La indexación desde el final de la lista no es compatible."
88
110
89
111
#: ../Doc/c-api/tuple.rst:77
90
112
msgid ""
91
113
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
92
114
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
93
115
"and set an :exc:`IndexError` exception."
94
116
msgstr ""
117
+ "Inserta una referencia al objeto *o* en la posición *pos* de la tupla "
118
+ "señalada por *p*. Retorna ``0`` en caso de éxito. Si *pos* está fuera de "
119
+ "límites, retorna ``-1`` y establece una excepción :exc:`IndexError`."
95
120
96
121
#: ../Doc/c-api/tuple.rst:83
97
122
msgid ""
98
123
"This function \" steals\" a reference to *o* and discards a reference to an "
99
124
"item already in the tuple at the affected position."
100
125
msgstr ""
126
+ "Esta función \" roba\" una referencia a *o* y descarta una referencia a un "
127
+ "elemento que ya está en la tupla en la posición afectada."
101
128
102
129
#: ../Doc/c-api/tuple.rst:89
103
130
msgid ""
104
131
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
105
132
"*only* be used to fill in brand new tuples."
106
133
msgstr ""
134
+ "Al igual que :c:func:`PyTuple_SetItem`, pero no realiza ninguna comprobación "
135
+ "de errores, y debe *solo* usarse para completar tuplas nuevas."
107
136
108
137
#: ../Doc/c-api/tuple.rst:94
109
138
msgid ""
110
139
"This macro \" steals\" a reference to *o*, and, unlike :c:func:"
111
140
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
112
141
"replaced; any reference in the tuple at position *pos* will be leaked."
113
142
msgstr ""
143
+ "Este macro \" roba\" una referencia a *o* y, a diferencia de :c:func:"
144
+ "`PyTuple_SetItem`, *no* descarta una referencia a ningún elemento que se "
145
+ "está reemplazando; cualquier referencia en la tupla en la posición *pos* se "
146
+ "filtrará."
114
147
115
148
#: ../Doc/c-api/tuple.rst:102
116
149
msgid ""
@@ -126,14 +159,25 @@ msgid ""
126
159
"and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` or :exc:"
127
160
"`SystemError`."
128
161
msgstr ""
162
+ "Se puede usar para cambiar el tamaño de una tupla. *newsize* será el nuevo "
163
+ "tamaño de la tupla. Debido a que se *supone* que las tuplas son inmutables, "
164
+ "esto solo debe usarse si solo hay una referencia al objeto. *No* use esto si "
165
+ "la tupla ya puede ser conocida por alguna otra parte del código. La tupla "
166
+ "siempre crecerá o disminuirá al final. Piense en esto como destruir la "
167
+ "antigua tupla y crear una nueva, solo que de manera más eficiente. Retorna "
168
+ "``0`` en caso de éxito. El código del cliente nunca debe suponer que el "
169
+ "valor resultante de ``*p`` será el mismo que antes de llamar a esta función. "
170
+ "Si se reemplaza el objeto referenciado por ``*p``, se destruye el original "
171
+ "``*p``. En caso de fallo, retorna ``-1`` y establece ``*p`` en ``NULL``, y "
172
+ "lanza :exc:`MemoryError` o :exc:`SystemError`."
129
173
130
174
#: ../Doc/c-api/tuple.rst:116
131
175
msgid "Clear the free list. Return the total number of freed items."
132
- msgstr ""
176
+ msgstr "Borra la lista libre. Retorna el número total de artículos liberados. "
133
177
134
178
#: ../Doc/c-api/tuple.rst:120
135
179
msgid "Struct Sequence Objects"
136
- msgstr ""
180
+ msgstr "Objetos de secuencia de estructura "
137
181
138
182
#: ../Doc/c-api/tuple.rst:122
139
183
msgid ""
@@ -142,84 +186,99 @@ msgid ""
142
186
"through attributes. To create a struct sequence, you first have to create a "
143
187
"specific struct sequence type."
144
188
msgstr ""
189
+ "Los objetos de secuencia de estructura son el equivalente en C de los "
190
+ "objetos :func:`~collections.namedtuple`, es decir, una secuencia a cuyos "
191
+ "elementos también se puede acceder a través de atributos. Para crear una "
192
+ "secuencia de estructura, primero debe crear un tipo de secuencia de "
193
+ "estructura específico."
145
194
146
195
#: ../Doc/c-api/tuple.rst:129
147
196
msgid ""
148
197
"Create a new struct sequence type from the data in *desc*, described below. "
149
198
"Instances of the resulting type can be created with :c:func:"
150
199
"`PyStructSequence_New`."
151
200
msgstr ""
201
+ "Crea un nuevo tipo de secuencia de estructura a partir de los datos en "
202
+ "*desc*, que se describen a continuación. Las instancias del tipo resultante "
203
+ "se pueden crear con :c:func:`PyStructSequence_New`."
152
204
153
205
#: ../Doc/c-api/tuple.rst:135
154
206
msgid "Initializes a struct sequence type *type* from *desc* in place."
155
207
msgstr ""
208
+ "Inicializa una secuencia de estructura tipo *type* desde *desc* en su lugar."
156
209
157
210
#: ../Doc/c-api/tuple.rst:140
158
211
msgid ""
159
212
"The same as ``PyStructSequence_InitType``, but returns ``0`` on success and "
160
213
"``-1`` on failure."
161
214
msgstr ""
215
+ "Lo mismo que ``PyStructSequence_InitType``, pero devuelve ``0`` en caso de "
216
+ "éxito y ``-1`` en caso de error."
162
217
163
218
#: ../Doc/c-api/tuple.rst:148
164
219
msgid "Contains the meta information of a struct sequence type to create."
165
220
msgstr ""
221
+ "Contiene la meta información de un tipo de secuencia de estructura para "
222
+ "crear."
166
223
167
224
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
168
225
msgid "Field"
169
- msgstr ""
226
+ msgstr "Campo "
170
227
171
228
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
172
229
msgid "C Type"
173
- msgstr ""
230
+ msgstr "Tipo C "
174
231
175
232
#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
176
233
msgid "Meaning"
177
- msgstr ""
234
+ msgstr "Significado "
178
235
179
236
#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:176
180
237
msgid "``name``"
181
- msgstr ""
238
+ msgstr "``name`` "
182
239
183
240
#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:155
184
241
#: ../Doc/c-api/tuple.rst:176 ../Doc/c-api/tuple.rst:181
185
242
msgid "``const char *``"
186
- msgstr ""
243
+ msgstr "``const char *`` "
187
244
188
245
#: ../Doc/c-api/tuple.rst:153
189
246
msgid "name of the struct sequence type"
190
- msgstr ""
247
+ msgstr "nombre del tipo de secuencia de estructura "
191
248
192
249
#: ../Doc/c-api/tuple.rst:155 ../Doc/c-api/tuple.rst:181
193
250
msgid "``doc``"
194
- msgstr ""
251
+ msgstr "``doc`` "
195
252
196
253
#: ../Doc/c-api/tuple.rst:155
197
254
msgid "pointer to docstring for the type or ``NULL`` to omit"
198
- msgstr ""
255
+ msgstr "puntero al *docstring* para el tipo o ``NULL`` para omitir "
199
256
200
257
#: ../Doc/c-api/tuple.rst:158
201
258
msgid "``fields``"
202
- msgstr ""
259
+ msgstr "``fields`` "
203
260
204
261
#: ../Doc/c-api/tuple.rst:158
205
262
msgid "``PyStructSequence_Field *``"
206
- msgstr ""
263
+ msgstr "``PyStructSequence_Field *`` "
207
264
208
265
#: ../Doc/c-api/tuple.rst:158
209
266
msgid "pointer to ``NULL``-terminated array with field names of the new type"
210
267
msgstr ""
268
+ "puntero al arreglo terminado en ``NULL`` con nombres de campo del nuevo tipo"
211
269
212
270
#: ../Doc/c-api/tuple.rst:161
213
271
msgid "``n_in_sequence``"
214
- msgstr ""
272
+ msgstr "``n_in_sequence`` "
215
273
216
274
#: ../Doc/c-api/tuple.rst:161
217
275
msgid "``int``"
218
- msgstr ""
276
+ msgstr "``int`` "
219
277
220
278
#: ../Doc/c-api/tuple.rst:161
221
279
msgid "number of fields visible to the Python side (if used as tuple)"
222
280
msgstr ""
281
+ "cantidad de campos visibles para el lado de Python (si se usa como tupla)"
223
282
224
283
#: ../Doc/c-api/tuple.rst:168
225
284
msgid ""
@@ -228,48 +287,63 @@ msgid ""
228
287
"attr:`fields` array of the :c:type:`PyStructSequence_Desc` determines which "
229
288
"field of the struct sequence is described."
230
289
msgstr ""
290
+ "Describe un campo de una secuencia de estructura. Como una secuencia de "
291
+ "estructura se modela como una tupla, todos los campos se escriben como :c:"
292
+ "type:`PyObject\\ *`. El índice en el arreglo :attr:`fields` de :c:type:"
293
+ "`PyStructSequence_Desc` determina qué campo de la secuencia de estructura se "
294
+ "describe."
231
295
232
296
#: ../Doc/c-api/tuple.rst:176
233
297
msgid ""
234
298
"name for the field or ``NULL`` to end the list of named fields, set to :c:"
235
299
"data:`PyStructSequence_UnnamedField` to leave unnamed"
236
300
msgstr ""
301
+ "nombre para el campo o ``NULL`` para finalizar la lista de campos con "
302
+ "nombre, establece en :c:data:`PyStructSequence_UnnamedField` para dejar sin "
303
+ "nombre"
237
304
238
305
#: ../Doc/c-api/tuple.rst:181
239
306
msgid "field docstring or ``NULL`` to omit"
240
- msgstr ""
307
+ msgstr "campo *docstring* o ``NULL`` para omitir "
241
308
242
309
#: ../Doc/c-api/tuple.rst:187
243
310
msgid "Special value for a field name to leave it unnamed."
244
- msgstr ""
311
+ msgstr "Valor especial para un nombre de campo para dejarlo sin nombre. "
245
312
246
313
#: ../Doc/c-api/tuple.rst:192
247
314
msgid ""
248
315
"Creates an instance of *type*, which must have been created with :c:func:"
249
316
"`PyStructSequence_NewType`."
250
317
msgstr ""
318
+ "Crea una instancia de *type*, que debe haberse creado con :c:func:"
319
+ "`PyStructSequence_NewType`."
251
320
252
321
#: ../Doc/c-api/tuple.rst:198
253
322
msgid ""
254
323
"Return the object at position *pos* in the struct sequence pointed to by "
255
324
"*p*. No bounds checking is performed."
256
325
msgstr ""
326
+ "Retorna el objeto en la posición *pos* en la secuencia de estructura "
327
+ "apuntada por *p*. No se realiza la comprobación de límites."
257
328
258
329
#: ../Doc/c-api/tuple.rst:204
259
330
msgid "Macro equivalent of :c:func:`PyStructSequence_GetItem`."
260
- msgstr ""
331
+ msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`. "
261
332
262
333
#: ../Doc/c-api/tuple.rst:209
263
334
msgid ""
264
335
"Sets the field at index *pos* of the struct sequence *p* to value *o*. "
265
336
"Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand "
266
337
"new instances."
267
338
msgstr ""
339
+ "Establece el campo en el índice *pos* de la secuencia de estructura *p* en "
340
+ "el valor *o*. Como :c:func:`PyTuple_SET_ITEM`, esto solo debe usarse para "
341
+ "completar instancias nuevas."
268
342
269
343
#: ../Doc/c-api/tuple.rst:215 ../Doc/c-api/tuple.rst:224
270
344
msgid "This function \" steals\" a reference to *o*."
271
- msgstr ""
345
+ msgstr "Esta función \" roba \" una referencia a *o*. "
272
346
273
347
#: ../Doc/c-api/tuple.rst:220
274
348
msgid "Macro equivalent of :c:func:`PyStructSequence_SetItem`."
275
- msgstr ""
349
+ msgstr "Macro equivalente de :c:func:`PyStructSequence_SetItem`. "
0 commit comments