- Notifications
You must be signed in to change notification settings - Fork395
Traducido archivo library/array#187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
65c9ee2
af2bc1e
b7908d5
ed13c65
c4e7210
7e7e5a6
bd92d1f
a70f796
71490db
d843cc4
15dcbd2
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
long | ||
short | ||
recompatibilidad | ||
retro | ||
string | ||
typecode | ||
cmaureir marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -36,11 +36,11 @@ msgid "" | ||
"following type codes are defined:" | ||
msgstr "" | ||
"Este modulo define un tipo de objeto que representa un vector de valores " | ||
"básicos: caracteres, números enterosyde punto flotante. Los vectores son " | ||
"secuencias que se comportan de forma similar a las listas a excepciónqueel " | ||
"tipo deobjeto guardado es definido. El tipo se especifica al crear el " | ||
"objeto mediante :dfn:`type code`, que es un carácter simple. Se definen los" | ||
"siguientes tipos:" | ||
#: ../Doc/library/array.rst:19 | ||
msgid "Type code" | ||
@@ -118,39 +118,39 @@ msgstr "``'h'``" | ||
#: ../Doc/library/array.rst:27 | ||
msgid "signed short" | ||
msgstr "signed short" | ||
#: ../Doc/library/array.rst:29 | ||
msgid "``'H'``" | ||
msgstr "``'H'``" | ||
#: ../Doc/library/array.rst:29 | ||
msgid "unsigned short" | ||
msgstr "unsigned short" | ||
#: ../Doc/library/array.rst:31 | ||
msgid "``'i'``" | ||
msgstr "``'i'``" | ||
#: ../Doc/library/array.rst:31 | ||
msgid "signed int" | ||
msgstr "signed int" | ||
#: ../Doc/library/array.rst:33 | ||
msgid "``'I'``" | ||
msgstr "``'I'``" | ||
#: ../Doc/library/array.rst:33 | ||
msgid "unsigned int" | ||
msgstr "unsigned int" | ||
#: ../Doc/library/array.rst:35 | ||
msgid "``'l'``" | ||
msgstr "``'l'``" | ||
#: ../Doc/library/array.rst:35 | ||
msgid "signed long" | ||
msgstr "signed long" | ||
#: ../Doc/library/array.rst:35 ../Doc/library/array.rst:37 | ||
#: ../Doc/library/array.rst:43 | ||
@@ -163,15 +163,15 @@ msgstr "``'L'``" | ||
#: ../Doc/library/array.rst:37 | ||
msgid "unsigned long" | ||
msgstr "unsigned long" | ||
#: ../Doc/library/array.rst:39 | ||
msgid "``'q'``" | ||
msgstr "``'q'``" | ||
#: ../Doc/library/array.rst:39 | ||
msgid "signed long long" | ||
msgstr "signed longlong" | ||
#: ../Doc/library/array.rst:39 ../Doc/library/array.rst:41 | ||
#: ../Doc/library/array.rst:45 | ||
@@ -184,7 +184,7 @@ msgstr "``'Q'``" | ||
#: ../Doc/library/array.rst:41 | ||
msgid "unsigned long long" | ||
msgstr "unsigned longlong" | ||
#: ../Doc/library/array.rst:43 | ||
msgid "``'f'``" | ||
@@ -247,7 +247,7 @@ msgid "" | ||
msgstr "" | ||
"Un nuevo vector donde sus elementos son restringidos por *typecode*, son " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"inicializados con el valor *initializer* que es una lista, un :term:`bytes-" | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"like object`, o bien un iterable sobre los elementos del tipo apropiado." | ||
#: ../Doc/library/array.rst:74 | ||
msgid "" | ||
@@ -286,7 +286,7 @@ msgstr "" | ||
"segmentación, concatenación y multiplicación . Cuando se utiliza " | ||
"segmentación, el valor asignado tiene que ser un vector con el mismo código " | ||
"tipo, en todos los otros casos se lanza :exc:`TypeError`. Los vectores " | ||
"también implementan unainterfaz de buffer, y que puede ser utilizada en " | ||
"cualquier momento cuando los objetos :term:`bytes-like objects <bytes-like " | ||
"object>` son soportados." | ||
@@ -320,8 +320,8 @@ msgstr "" | ||
"Devuelve una tupla ``(address, length)`` con la dirección de memoria actual " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page.
cmaureir marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"y la longitud de los elementos en el buffer utilizado para almacenar " | ||
"temporalmente los elementos del vector. El tamaño del buffer de memoria es " | ||
cmaureir marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"calculado como ``array.buffer_info()[1] * array.itemsize``. Ocasionalmente " | ||
"espractico cuando trabajamos eninterfaces E/S de bajo nivel (de manera " | ||
"inherente insegura) que requieren direcciones de memoria, por ejemplo " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page.
cmaureir marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"ciertas operaciones :c:func:`ioctl`. Los números devueltos son validos " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"mientras el vector exista y no se cambie la longitud del vector ." | ||
@@ -336,9 +336,9 @@ msgid "" | ||
msgstr "" | ||
"Cuando utilizamos vectores escritos en C o C++ (la única manera de utilizar " | ||
"esta información de forma mas efectiva), tiene mas sentido utilizar " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"interfaces buffer que soporten objetos del tipo vector. Este método es " | ||
"mantenido conretro compatibilidady tiene que ser evitado en el nuevo " | ||
"código.Lasinterfaces de buffer son documentadas en :ref:`bufferobjects`." | ||
#: ../Doc/library/array.rst:129 | ||
msgid "" | ||
@@ -366,7 +366,7 @@ msgstr "" | ||
"Añade los elementos del *iterable* al final del vector. Si el *iterable* es " | ||
"de otro vector, este debe ser *exactamente* del mismo tipo; si no se lanza :" | ||
"exc:`TypeError`. Si el *iterable* no es un vector, este debe de ser un " | ||
"iterable y sus elementos tienes que ser del tipo correcto y añadidos al " | ||
"vector." | ||
#: ../Doc/library/array.rst:150 | ||
@@ -381,7 +381,7 @@ msgstr "" | ||
#: ../Doc/library/array.rst:153 | ||
msgid ":meth:`fromstring` is renamed to :meth:`frombytes` for clarity." | ||
msgstr ":meth:`fromstring` se renombra como :meth:`frombytes`por claridad." | ||
#: ../Doc/library/array.rst:159 | ||
msgid "" | ||
@@ -417,7 +417,7 @@ msgid "" | ||
msgstr "" | ||
"Extiende el vector con datos de la cadena de texto unicode (string). El " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"vector debe ser de tipo ``'u'`` array; de forma contraria se lanza :exc:" | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"`ValueError`. Utiliza ``array.frombytes(unicodestring.encode(enc))``para " | ||
"añadir datos Unicode al vector si son de otro tipo." | ||
#: ../Doc/library/array.rst:189 | ||
@@ -490,7 +490,7 @@ msgid "" | ||
msgstr "" | ||
"Convierte un vector a una cadena de texto (string) unicode. El vector tiene " | ||
albertcalv marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
"que ser de tipo ``'u'`` ; en caso contrario se lanza :exc:`ValueError`. " | ||
"Utiliza ``array.tobytes().decode(enc)``para obtener la cadena de texto " | ||
"(string) del vector de otro tipo." | ||
#: ../Doc/library/array.rst:250 | ||