@@ -22,12 +22,10 @@ msgstr ""
2222"Generated-By : Babel 2.18.0\n "
2323
2424#: ../Doc/library/array.rst:2
25- #, fuzzy
2625msgid ":mod:`!array` --- Efficient arrays of numeric values"
2726msgstr ":mod:`array` --- Arreglos eficientes de valores numéricos"
2827
2928#: ../Doc/library/array.rst:11
30- #, fuzzy
3129msgid ""
3230"This module defines an object type which can compactly represent an array of "
3331"basic values: characters, integers, floating-point numbers. Arrays are "
@@ -114,23 +112,21 @@ msgid "\\(1)"
114112msgstr "\\ (1)"
115113
116114#: ../Doc/library/array.rst:27
117- #, fuzzy
118115msgid "``'w'``"
119- msgstr "``'u '``"
116+ msgstr "``'w '``"
120117
121118#: ../Doc/library/array.rst:27
122119msgid "Py_UCS4"
123- msgstr ""
120+ msgstr "Py_UCS4 "
124121
125122#: ../Doc/library/array.rst:27 ../Doc/library/array.rst:37
126123#: ../Doc/library/array.rst:39 ../Doc/library/array.rst:45
127124msgid "4"
128125msgstr "4"
129126
130127#: ../Doc/library/array.rst:27
131- #, fuzzy
132128msgid "\\ (2)"
133- msgstr "\\ (1 )"
129+ msgstr "\\ (2 )"
134130
135131#: ../Doc/library/array.rst:29
136132msgid "``'h'``"
@@ -226,70 +222,66 @@ msgid "It can be 16 bits or 32 bits depending on the platform."
226222msgstr "Puede ser de 16 bits o 32 bits según la plataforma."
227223
228224#: ../Doc/library/array.rst:55
229- #, fuzzy
230225msgid ""
231226"``array('u')`` now uses :c:type:`wchar_t` as C type instead of deprecated "
232227"``Py_UNICODE``. This change doesn't affect its behavior because "
233228"``Py_UNICODE`` is alias of :c:type:`wchar_t` since Python 3.3."
234229msgstr ""
235- "``array('u')`` ahora usa `` wchar_t`` como tipo C en lugar de ``Py_UNICODE`` "
236- "obsoleto. Este cambio no afecta su comportamiento porque ``Py_UNICODE`` es "
237- "el alias de `` wchar_t` ` desde Python 3.3."
230+ "``array('u')`` ahora usa :c:type:` wchar_t` como tipo C en lugar de "
231+ "``Py_UNICODE`` obsoleto. Este cambio no afecta su comportamiento porque "
232+ "``Py_UNICODE`` es el alias de :c:type:` wchar_t` desde Python 3.3."
238233
239234#: ../Doc/library/array.rst:60
240235msgid "Please migrate to ``'w'`` typecode."
241- msgstr ""
236+ msgstr "Por favor, migre al código de tipo ``'w'``. "
242237
243238#: ../Doc/library/array.rst:67
244- #, fuzzy
245239msgid ""
246240"The actual representation of values is determined by the machine "
247241"architecture (strictly speaking, by the C implementation). The actual size "
248242"can be accessed through the :attr:`array.itemsize` attribute."
249243msgstr ""
250244"La representación real de los valores viene determinada por la arquitectura "
251- "de la maquina (estrictamente hablando, por la implementación de C). El "
252- "tamaño actual se puede obtener mediante el atributo :attr:`itemsize`."
245+ "de la máquina (estrictamente hablando, por la implementación de C). El "
246+ "tamaño real se puede obtener mediante el atributo :attr:`array. itemsize`."
253247
254248#: ../Doc/library/array.rst:71
255- #, fuzzy
256249msgid "The module defines the following item:"
257- msgstr "El módulo define los siguientes tipos :"
250+ msgstr "El módulo define el siguiente elemento :"
258251
259252#: ../Doc/library/array.rst:76
260253msgid "A string with all available type codes."
261- msgstr "Una cadena de caracteres con todos los códigos de tipos disponible."
254+ msgstr "Una cadena de caracteres con todos los códigos de tipo disponible."
262255
263256#: ../Doc/library/array.rst:79
264257msgid "The module defines the following type:"
265- msgstr "El módulo define los siguientes tipos :"
258+ msgstr "El módulo define el siguiente tipo :"
266259
267260#: ../Doc/library/array.rst:84
268- #, fuzzy
269261msgid ""
270262"A new array whose items are restricted by *typecode*, and initialized from "
271263"the optional *initializer* value, which must be a :class:`bytes` or :class:"
272264"`bytearray` object, a Unicode string, or iterable over elements of the "
273265"appropriate type."
274266msgstr ""
275267"Un nuevo arreglo cuyos elementos son restringidos por *typecode*, e "
276- "inicializados con el valor opcional *initializer*, el cual debe ser una "
277- "lista, un :term :`bytes-like object`, o un iterable sobre los elementos del "
278- "tipo apropiado."
268+ "inicializados con el valor opcional *initializer*, el cual debe ser un "
269+ "objeto :class :`bytes` o :class:`bytearray`, una cadena de texto Unicode, o "
270+ "un iterable sobre los elementos del tipo apropiado."
279271
280272#: ../Doc/library/array.rst:89
281- #, fuzzy
282273msgid ""
283274"If given a :class:`bytes` or :class:`bytearray` object, the initializer is "
284275"passed to the new array's :meth:`frombytes` method; if given a Unicode "
285276"string, the initializer is passed to the :meth:`fromunicode` method; "
286277"otherwise, the initializer's iterator is passed to the :meth:`extend` method "
287278"to add initial items to the array."
288279msgstr ""
289- "Si dada una lista o un string, el inicializador es pasado a los nuevos "
290- "métodos :meth:`fromlist`, :meth:`frombytes`, :meth:`fromunicode` del arreglo "
291- "(ver abajo) para añadir nuevos elementos al arreglo. De forma contraria, el "
292- "iterable inicializador se pasa al método :meth:`extend`."
280+ "Si se proporciona un objeto :class:`bytes` o :class:`bytearray`, el "
281+ "inicializador se pasa al método :meth:`frombytes` del nuevo arreglo; si se "
282+ "proporciona una cadena de texto Unicode, el inicializador se pasa al método "
283+ ":meth:`fromunicode`; de lo contrario, el iterador del inicializador se pasa "
284+ "al método :meth:`extend` para añadir los elementos iniciales al arreglo."
293285
294286#: ../Doc/library/array.rst:96
295287msgid ""
@@ -330,7 +322,6 @@ msgid "Append a new item with value *x* to the end of the array."
330322msgstr "Añade un nuevo elemento con valor *x* al final del arreglo."
331323
332324#: ../Doc/library/array.rst:122
333- #, fuzzy
334325msgid ""
335326"Return a tuple ``(address, length)`` giving the current memory address and "
336327"the length in elements of the buffer used to hold array's contents. The "
@@ -345,9 +336,9 @@ msgstr ""
345336"la longitud de los elementos en el buffer utilizado para almacenar "
346337"temporalmente los elementos del arreglo. El tamaño del buffer de memoria es "
347338"calculado como ``array.buffer_info()[1] * array.itemsize``. Ocasionalmente "
348- "es practico cuando trabajamos en interfaces E/S de bajo nivel (de manera "
339+ "es práctico cuando trabajamos en interfaces E/S de bajo nivel (de manera "
349340"inherentemente insegura) que requieren direcciones de memoria, por ejemplo "
350- "ciertas operaciones :c:func:`ioctl`. Los números retornados son válidos "
341+ "ciertas operaciones :c:func:`! ioctl`. Los números retornados son válidos "
351342"mientras el arreglo exista y no se cambie la longitud del mismo."
352343
353344#: ../Doc/library/array.rst:132
@@ -373,7 +364,7 @@ msgid ""
373364"written on a machine with a different byte order."
374365msgstr ""
375366"\" Byteswap\" todos los elementos del arreglo. Solo es soportado para valores "
376- "de tamaño 1,2,3, 4 o 8 bytes; para otros valores se lanza :exc:"
367+ "de tamaño 1,2,4 o 8 bytes; para otros valores se lanza :exc:"
377368"`RuntimeError`. Es útil cuando leemos información de un fichero en una "
378369"máquina con diferente orden de bytes."
379370
@@ -395,20 +386,18 @@ msgstr ""
395386"arreglo."
396387
397388#: ../Doc/library/array.rst:162
398- #, fuzzy
399389msgid ""
400390"Appends items from the :term:`bytes-like object`, interpreting its content "
401391"as an array of machine values (as if it had been read from a file using the :"
402392"meth:`fromfile` method)."
403393msgstr ""
404- "Añade los elementos de la cadena de texto , interpretando la cadena de texto "
405- "como un arreglo de valores máquina (como si se leyera de un fichero "
406- "utilizando el método :meth:`fromfile`)."
394+ "Añade los elementos del :term:`bytes-like object` , interpretando su "
395+ "contenido como un arreglo de valores de máquina (como si se hubiera leído de "
396+ "un fichero utilizando el método :meth:`fromfile`)."
407397
408398#: ../Doc/library/array.rst:166
409- #, fuzzy
410399msgid ":meth:`!fromstring` is renamed to :meth:`frombytes` for clarity."
411- msgstr ":meth:`fromstring` se renombra como :meth:`frombytes` por claridad."
400+ msgstr ":meth:`! fromstring` se renombra como :meth:`frombytes` por claridad."
412401
413402#: ../Doc/library/array.rst:172
414403msgid ""
@@ -431,15 +420,14 @@ msgstr ""
431420"append(x)`` excepto que si hay un error de tipo, el arreglo no se modifica."
432421
433422#: ../Doc/library/array.rst:186
434- #, fuzzy
435423msgid ""
436424"Extends this array with data from the given Unicode string. The array must "
437425"have type code ``'u'`` or ``'w'``; otherwise a :exc:`ValueError` is raised. "
438426"Use ``array.frombytes(unicodestring.encode(enc))`` to append Unicode data to "
439427"an array of some other type."
440428msgstr ""
441- "Extiende este arreglo con datos de la cadena de texto unicode . El arreglo "
442- "debe ser un arreglo tipo ``'u'``; de forma contraria se lanza :exc:"
429+ "Extiende este arreglo con datos de la cadena de texto Unicode . El arreglo "
430+ "debe ser un arreglo tipo ``'u'`` o ``'w'`` ; de forma contraria se lanza :exc:"
443431"`ValueError`. Utiliza ``array.frombytes(unicodestring.encode(enc))`` para "
444432"añadir datos Unicode a un arreglo de algún otro tipo."
445433
@@ -483,9 +471,8 @@ msgid "Remove the first occurrence of *x* from the array."
483471msgstr "Elimina la primera ocurrencia de *x* del arreglo."
484472
485473#: ../Doc/library/array.rst:223
486- #, fuzzy
487474msgid "Remove all elements from the array."
488- msgstr "Elimina la primera ocurrencia de *x* del arreglo."
475+ msgstr "Elimina todos los elementos del arreglo."
489476
490477#: ../Doc/library/array.rst:230
491478msgid "Reverse the order of the items in the array."
@@ -502,34 +489,31 @@ msgstr ""
502489"escribir en un fichero por el método :meth:`tofile`.)"
503490
504491#: ../Doc/library/array.rst:239
505- #, fuzzy
506492msgid ":meth:`!tostring` is renamed to :meth:`tobytes` for clarity."
507- msgstr ":meth:`tostring` se renombra como :meth:`tobytes` para claridad."
493+ msgstr ":meth:`! tostring` se renombra como :meth:`tobytes` por claridad."
508494
509495#: ../Doc/library/array.rst:245
510496msgid "Write all items (as machine values) to the :term:`file object` *f*."
511497msgstr ""
512- "Escribe todos los elementos (incluido elementos máquina) a el :term:`file "
498+ "Escribe todos los elementos (como valores de máquina) al :term:`file "
513499"object` *f*."
514500
515501#: ../Doc/library/array.rst:250
516502msgid "Convert the array to an ordinary list with the same items."
517503msgstr "Convierte el arreglo a una lista ordinaria con los mismos elementos."
518504
519505#: ../Doc/library/array.rst:255
520- #, fuzzy
521506msgid ""
522507"Convert the array to a Unicode string. The array must have a type ``'u'`` "
523508"or ``'w'``; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()."
524509"decode(enc)`` to obtain a Unicode string from an array of some other type."
525510msgstr ""
526- "Convierte el arreglo a una cadena de texto unicode . El arreglo debe ser un "
527- "arreglo tipo ``'u'`` ; en caso contrario se lanza :exc:`ValueError`. Utiliza "
528- "``array.tobytes().decode(enc)`` para obtener una cadena de texto unicode de "
529- "un arreglo de algún otro tipo."
511+ "Convierte el arreglo a una cadena de texto Unicode . El arreglo debe ser un "
512+ "arreglo tipo ``'u'`` o ``'w'`` ; en caso contrario se lanza :exc:`ValueError`. "
513+ "Utiliza ``array.tobytes().decode(enc)`` para obtener una cadena de texto "
514+ "Unicode de un arreglo de algún otro tipo."
530515
531516#: ../Doc/library/array.rst:260
532- #, fuzzy
533517msgid ""
534518"The string representation of array objects has the form ``array(typecode, "
535519"initializer)``. The *initializer* is omitted if the array is empty, "
@@ -544,11 +528,13 @@ msgstr ""
544528"Cuando un objeto se imprime o se convierte a una cadena de texto, este se "
545529"representa como ``array(typecode, initializer)``. El *initializer* se omite "
546530"cuando el arreglo está vacío, de forma contraria es una cadena de caracteres "
547- "si su *typecode* es ``'u'``, de lo contrario es una lista de números. La "
548- "cadena de caracteres garantiza que es capaz de ser convertida de nuevo a un "
549- "arreglo con el mismo tipo y valor utilizando :func:`eval`, hasta que la "
550- "clase :class:`~array.array` ha sido importada utilizando ``from array import "
551- "array``. Ejemplos::"
531+ "si su *typecode* es ``'u'`` o ``'w'``, de lo contrario es una lista de "
532+ "números. Se garantiza que la cadena de caracteres puede convertirse de nuevo "
533+ "a un arreglo con el mismo tipo y valor utilizando :func:`eval`, siempre que "
534+ "la clase :class:`~array.array` se haya importado utilizando ``from array "
535+ "import array``. Las variables ``inf`` y ``nan`` también deben estar "
536+ "definidas si contiene los valores de punto flotante correspondientes. "
537+ "Ejemplos::"
552538
553539#: ../Doc/library/array.rst:272
554540msgid ""
@@ -557,6 +543,10 @@ msgid ""
557543"array('l', [1, 2, 3, 4, 5])\n"
558544"array('d', [1.0, 2.0, 3.14, -inf, nan])"
559545msgstr ""
546+ "array('l')\n"
547+ "array('w', 'hola \\ u2641')\n"
548+ "array('l', [1, 2, 3, 4, 5])\n"
549+ "array('d', [1.0, 2.0, 3.14, -inf, nan])"
560550
561551#: ../Doc/library/array.rst:280
562552msgid "Module :mod:`struct`"
0 commit comments