66# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to
77# get the list of volunteers
88#
9- #, fuzzy
109msgid ""
1110msgstr ""
1211"Project-Id-Version : Python 3.8\n "
1312"Report-Msgid-Bugs-To : \n "
1413"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 "
1715"Language-Team : python-doc-es\n "
1816"MIME-Version : 1.0\n "
19- "Content-Type : text/plain; charset=utf -8\n "
17+ "Content-Type : text/plain; charset=UTF -8\n "
2018"Content-Transfer-Encoding : 8bit\n "
2119"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 "
2224
2325#: ../Doc/c-api/tuple.rst:6
2426msgid "Tuple Objects"
25- msgstr ""
27+ msgstr "Objetos Tuplas "
2628
2729#: ../Doc/c-api/tuple.rst:13
2830msgid "This subtype of :c:type:`PyObject` represents a Python tuple object."
2931msgstr ""
32+ "Este subtipo de :c:type:`PyObject` representa un objeto tupla de Python."
3033
3134#: ../Doc/c-api/tuple.rst:18
3235msgid ""
3336"This instance of :c:type:`PyTypeObject` represents the Python tuple type; it "
3437"is the same object as :class:`tuple` in the Python layer."
3538msgstr ""
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."
3641
3742#: ../Doc/c-api/tuple.rst:24
3843msgid ""
3944"Return true if *p* is a tuple object or an instance of a subtype of the "
4045"tuple type."
4146msgstr ""
47+ "Retorna verdadero si *p* es un objeto tupla o una instancia de un subtipo "
48+ "del tipo tupla."
4249
4350#: ../Doc/c-api/tuple.rst:30
4451msgid ""
4552"Return true if *p* is a tuple object, but not an instance of a subtype of "
4653"the tuple type."
4754msgstr ""
55+ "Retorna verdadero si *p* es un objeto tupla pero no una instancia de un "
56+ "subtipo del tipo tupla."
4857
4958#: ../Doc/c-api/tuple.rst:36
5059msgid "Return a new tuple object of size *len*, or ``NULL`` on failure."
5160msgstr ""
61+ "Retorna un nuevo objeto tupla de tamaño *len* o ``NULL`` en caso de falla."
5262
5363#: ../Doc/c-api/tuple.rst:41
5464msgid ""
@@ -57,60 +67,83 @@ msgid ""
5767"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
5868"``Py_BuildValue(\" (OO)\" , a, b)``."
5969msgstr ""
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)``."
6074
6175#: ../Doc/c-api/tuple.rst:48
6276msgid "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. "
6478
6579#: ../Doc/c-api/tuple.rst:53
6680msgid ""
6781"Return the size of the tuple *p*, which must be non-``NULL`` and point to a "
6882"tuple; no error checking is performed."
6983msgstr ""
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."
7086
7187#: ../Doc/c-api/tuple.rst:59
7288msgid ""
7389"Return the object at position *pos* in the tuple pointed to by *p*. If "
7490"*pos* is out of bounds, return ``NULL`` and set an :exc:`IndexError` "
7591"exception."
7692msgstr ""
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`."
7796
7897#: ../Doc/c-api/tuple.rst:65
7998msgid "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. "
81100
82101#: ../Doc/c-api/tuple.rst:70
83102msgid ""
84103"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
85104"``NULL`` on failure. This is the equivalent of the Python expression "
86105"``p[low:high]``. Indexing from the end of the list is not supported."
87106msgstr ""
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."
88110
89111#: ../Doc/c-api/tuple.rst:77
90112msgid ""
91113"Insert a reference to object *o* at position *pos* of the tuple pointed to "
92114"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
93115"and set an :exc:`IndexError` exception."
94116msgstr ""
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`."
95120
96121#: ../Doc/c-api/tuple.rst:83
97122msgid ""
98123"This function \" steals\" a reference to *o* and discards a reference to an "
99124"item already in the tuple at the affected position."
100125msgstr ""
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."
101128
102129#: ../Doc/c-api/tuple.rst:89
103130msgid ""
104131"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
105132"*only* be used to fill in brand new tuples."
106133msgstr ""
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."
107136
108137#: ../Doc/c-api/tuple.rst:94
109138msgid ""
110139"This macro \" steals\" a reference to *o*, and, unlike :c:func:"
111140"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
112141"replaced; any reference in the tuple at position *pos* will be leaked."
113142msgstr ""
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á."
114147
115148#: ../Doc/c-api/tuple.rst:102
116149msgid ""
@@ -126,14 +159,25 @@ msgid ""
126159"and sets ``*p`` to ``NULL``, and raises :exc:`MemoryError` or :exc:"
127160"`SystemError`."
128161msgstr ""
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`."
129173
130174#: ../Doc/c-api/tuple.rst:116
131175msgid "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. "
133177
134178#: ../Doc/c-api/tuple.rst:120
135179msgid "Struct Sequence Objects"
136- msgstr ""
180+ msgstr "Objetos de secuencia de estructura "
137181
138182#: ../Doc/c-api/tuple.rst:122
139183msgid ""
@@ -142,84 +186,99 @@ msgid ""
142186"through attributes. To create a struct sequence, you first have to create a "
143187"specific struct sequence type."
144188msgstr ""
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."
145194
146195#: ../Doc/c-api/tuple.rst:129
147196msgid ""
148197"Create a new struct sequence type from the data in *desc*, described below. "
149198"Instances of the resulting type can be created with :c:func:"
150199"`PyStructSequence_New`."
151200msgstr ""
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`."
152204
153205#: ../Doc/c-api/tuple.rst:135
154206msgid "Initializes a struct sequence type *type* from *desc* in place."
155207msgstr ""
208+ "Inicializa una secuencia de estructura tipo *type* desde *desc* en su lugar."
156209
157210#: ../Doc/c-api/tuple.rst:140
158211msgid ""
159212"The same as ``PyStructSequence_InitType``, but returns ``0`` on success and "
160213"``-1`` on failure."
161214msgstr ""
215+ "Lo mismo que ``PyStructSequence_InitType``, pero devuelve ``0`` en caso de "
216+ "éxito y ``-1`` en caso de error."
162217
163218#: ../Doc/c-api/tuple.rst:148
164219msgid "Contains the meta information of a struct sequence type to create."
165220msgstr ""
221+ "Contiene la meta información de un tipo de secuencia de estructura para "
222+ "crear."
166223
167224#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
168225msgid "Field"
169- msgstr ""
226+ msgstr "Campo "
170227
171228#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
172229msgid "C Type"
173- msgstr ""
230+ msgstr "Tipo C "
174231
175232#: ../Doc/c-api/tuple.rst:151 ../Doc/c-api/tuple.rst:174
176233msgid "Meaning"
177- msgstr ""
234+ msgstr "Significado "
178235
179236#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:176
180237msgid "``name``"
181- msgstr ""
238+ msgstr "``name`` "
182239
183240#: ../Doc/c-api/tuple.rst:153 ../Doc/c-api/tuple.rst:155
184241#: ../Doc/c-api/tuple.rst:176 ../Doc/c-api/tuple.rst:181
185242msgid "``const char *``"
186- msgstr ""
243+ msgstr "``const char *`` "
187244
188245#: ../Doc/c-api/tuple.rst:153
189246msgid "name of the struct sequence type"
190- msgstr ""
247+ msgstr "nombre del tipo de secuencia de estructura "
191248
192249#: ../Doc/c-api/tuple.rst:155 ../Doc/c-api/tuple.rst:181
193250msgid "``doc``"
194- msgstr ""
251+ msgstr "``doc`` "
195252
196253#: ../Doc/c-api/tuple.rst:155
197254msgid "pointer to docstring for the type or ``NULL`` to omit"
198- msgstr ""
255+ msgstr "puntero al *docstring* para el tipo o ``NULL`` para omitir "
199256
200257#: ../Doc/c-api/tuple.rst:158
201258msgid "``fields``"
202- msgstr ""
259+ msgstr "``fields`` "
203260
204261#: ../Doc/c-api/tuple.rst:158
205262msgid "``PyStructSequence_Field *``"
206- msgstr ""
263+ msgstr "``PyStructSequence_Field *`` "
207264
208265#: ../Doc/c-api/tuple.rst:158
209266msgid "pointer to ``NULL``-terminated array with field names of the new type"
210267msgstr ""
268+ "puntero al arreglo terminado en ``NULL`` con nombres de campo del nuevo tipo"
211269
212270#: ../Doc/c-api/tuple.rst:161
213271msgid "``n_in_sequence``"
214- msgstr ""
272+ msgstr "``n_in_sequence`` "
215273
216274#: ../Doc/c-api/tuple.rst:161
217275msgid "``int``"
218- msgstr ""
276+ msgstr "``int`` "
219277
220278#: ../Doc/c-api/tuple.rst:161
221279msgid "number of fields visible to the Python side (if used as tuple)"
222280msgstr ""
281+ "cantidad de campos visibles para el lado de Python (si se usa como tupla)"
223282
224283#: ../Doc/c-api/tuple.rst:168
225284msgid ""
@@ -228,48 +287,63 @@ msgid ""
228287"attr:`fields` array of the :c:type:`PyStructSequence_Desc` determines which "
229288"field of the struct sequence is described."
230289msgstr ""
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."
231295
232296#: ../Doc/c-api/tuple.rst:176
233297msgid ""
234298"name for the field or ``NULL`` to end the list of named fields, set to :c:"
235299"data:`PyStructSequence_UnnamedField` to leave unnamed"
236300msgstr ""
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"
237304
238305#: ../Doc/c-api/tuple.rst:181
239306msgid "field docstring or ``NULL`` to omit"
240- msgstr ""
307+ msgstr "campo *docstring* o ``NULL`` para omitir "
241308
242309#: ../Doc/c-api/tuple.rst:187
243310msgid "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. "
245312
246313#: ../Doc/c-api/tuple.rst:192
247314msgid ""
248315"Creates an instance of *type*, which must have been created with :c:func:"
249316"`PyStructSequence_NewType`."
250317msgstr ""
318+ "Crea una instancia de *type*, que debe haberse creado con :c:func:"
319+ "`PyStructSequence_NewType`."
251320
252321#: ../Doc/c-api/tuple.rst:198
253322msgid ""
254323"Return the object at position *pos* in the struct sequence pointed to by "
255324"*p*. No bounds checking is performed."
256325msgstr ""
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."
257328
258329#: ../Doc/c-api/tuple.rst:204
259330msgid "Macro equivalent of :c:func:`PyStructSequence_GetItem`."
260- msgstr ""
331+ msgstr "Macro equivalente de :c:func:`PyStructSequence_GetItem`. "
261332
262333#: ../Doc/c-api/tuple.rst:209
263334msgid ""
264335"Sets the field at index *pos* of the struct sequence *p* to value *o*. "
265336"Like :c:func:`PyTuple_SET_ITEM`, this should only be used to fill in brand "
266337"new instances."
267338msgstr ""
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."
268342
269343#: ../Doc/c-api/tuple.rst:215 ../Doc/c-api/tuple.rst:224
270344msgid "This function \" steals\" a reference to *o*."
271- msgstr ""
345+ msgstr "Esta función \" roba \" una referencia a *o*. "
272346
273347#: ../Doc/c-api/tuple.rst:220
274348msgid "Macro equivalent of :c:func:`PyStructSequence_SetItem`."
275- msgstr ""
349+ msgstr "Macro equivalente de :c:func:`PyStructSequence_SetItem`. "
0 commit comments