Skip to content

Commit 9b5557b

Browse files
committed
Progreso hasta el 74%
1 parent 9d5457d commit 9b5557b

File tree

1 file changed

+62
-3
lines changed

1 file changed

+62
-3
lines changed

library/stdtypes.po

+62-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
14-
"PO-Revision-Date: 2020-06-09 22:44+0100\n"
14+
"PO-Revision-Date: 2020-06-11 23:44+0100\n"
1515
"Last-Translator: Juan Ignacio Rodríguez de León <euribates@gmail.com>\n"
1616
"Language-Team: python-doc-es\n"
1717
"MIME-Version: 1.0\n"
@@ -5461,64 +5461,91 @@ msgid ""
54615461
"'b' or 'c' are also hashable. The hash is defined as ``hash(m) == hash(m."
54625462
"tobytes())``::"
54635463
msgstr ""
5464+
"Los objetos *memoryviews* de una única dimensión que contienen tipos de "
5465+
"datos *hashables* (De solo lectura) con formatos ``'B'``, ``'b'`` o ``'c'`` "
5466+
"son también *hashables*. El *hash* se define como ``hash(m) == hash(m."
5467+
"tobytes())``::"
54645468

54655469
#: ../Doc/library/stdtypes.rst:3575
54665470
msgid ""
54675471
"One-dimensional memoryviews can now be sliced. One-dimensional memoryviews "
54685472
"with formats 'B', 'b' or 'c' are now hashable."
54695473
msgstr ""
5474+
"Los objetos *memoryviews* de una única dimensión pueden ahora ser usados con "
5475+
"operaciones de rebanado. Los objetos *memoryviews* de una única dimensión "
5476+
"con formatos ``'B'``, ``'b'`` o ``'c'`` son ahora *hashables*."
54705477

54715478
#: ../Doc/library/stdtypes.rst:3579
54725479
msgid ""
54735480
"memoryview is now registered automatically with :class:`collections.abc."
54745481
"Sequence`"
54755482
msgstr ""
5483+
"Los objetos *memoryview* son registrados automáticamente con la clase :class:"
5484+
"`collections.abc.Sequence`"
54765485

54775486
#: ../Doc/library/stdtypes.rst:3583
54785487
msgid "memoryviews can now be indexed with tuple of integers."
54795488
msgstr ""
5489+
"Los objetos *memoryviews* se pueden ahora acceder usando como índices una "
5490+
"tupla de números enteros."
54805491

54815492
#: ../Doc/library/stdtypes.rst:3586
54825493
msgid ":class:`memoryview` has several methods:"
5483-
msgstr ""
5494+
msgstr "La clase :class:`memoryview` tiene varios métodos:"
54845495

54855496
#: ../Doc/library/stdtypes.rst:3590
54865497
msgid ""
54875498
"A memoryview and a :pep:`3118` exporter are equal if their shapes are "
54885499
"equivalent and if all corresponding values are equal when the operands' "
54895500
"respective format codes are interpreted using :mod:`struct` syntax."
54905501
msgstr ""
5502+
"Un objeto *memoryview* y un exportador :pep:`3118` son iguales si sus formas "
5503+
"son equivalentes y todos los valores correspondientes son iguales cuando los "
5504+
"formatos respectivos de los operandos son interpretados usando la sintaxis "
5505+
"de :mod:`struct`."
54915506

54925507
#: ../Doc/library/stdtypes.rst:3594
54935508
msgid ""
54945509
"For the subset of :mod:`struct` format strings currently supported by :meth:"
54955510
"`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::"
54965511
msgstr ""
5512+
"Para el subconjunto de formatos de :mod:`struct` soportados actualmente por :"
5513+
"meth:`tolist`, ``v`` y ``w`` son iguales si ``v.tolist() == w.tolist()``::"
54975514

54985515
#: ../Doc/library/stdtypes.rst:3613
54995516
msgid ""
55005517
"If either format string is not supported by the :mod:`struct` module, then "
55015518
"the objects will always compare as unequal (even if the format strings and "
55025519
"buffer contents are identical)::"
55035520
msgstr ""
5521+
"Si cualquiera de las cadenas de formato no es soportada por el módulo :mod:"
5522+
"`struct`, entonces la comparación de los objetos siempre los considerará "
5523+
"diferentes (Incluso si las cadenas de formato y el contenido del *buffer* "
5524+
"son idénticos)::"
55045525

55055526
#: ../Doc/library/stdtypes.rst:3629
55065527
msgid ""
55075528
"Note that, as with floating point numbers, ``v is w`` does *not* imply ``v "
55085529
"== w`` for memoryview objects."
55095530
msgstr ""
5531+
"Nótese que, al igual que con los números en coma flotante, ``v is w`` *no* "
5532+
"implica que ``v == w`` para objetos del tipo *memoryview*."
55105533

55115534
#: ../Doc/library/stdtypes.rst:3632
55125535
msgid ""
55135536
"Previous versions compared the raw memory disregarding the item format and "
55145537
"the logical array structure."
55155538
msgstr ""
5539+
"Versiones previas comparaban la memoria directamente, sin considerar ni el "
5540+
"formato de los elementos ni la estructura lógica de *array*."
55165541

55175542
#: ../Doc/library/stdtypes.rst:3638
55185543
msgid ""
55195544
"Return the data in the buffer as a bytestring. This is equivalent to "
55205545
"calling the :class:`bytes` constructor on the memoryview. ::"
55215546
msgstr ""
5547+
"Devuelve los datos en el *buffer* en forma de cadena de bytes. Equivale a "
5548+
"llamar al constructor de la clase :class:`bytes` en el objeto *memoryview*::"
55225549

55235550
#: ../Doc/library/stdtypes.rst:3647
55245551
msgid ""
@@ -5527,6 +5554,10 @@ msgid ""
55275554
"supports all format strings, including those that are not in :mod:`struct` "
55285555
"module syntax."
55295556
msgstr ""
5557+
"Para *arrays* no contiguos el resultado es igual a la representación en "
5558+
"forma de lista aplanada, con todos los elementos convertidos a bytes. El "
5559+
"método :meth:`tobytes` soporta todos los formatos de texto, incluidos "
5560+
"aquellos que no se encuentran en la sintaxis del módulo :mod:`struct`."
55305561

55315562
#: ../Doc/library/stdtypes.rst:3652
55325563
msgid ""
@@ -5536,35 +5567,51 @@ msgid ""
55365567
"Fortran order is preserved. For non-contiguous views, the data is converted "
55375568
"to C first. *order=None* is the same as *order='C'*."
55385569
msgstr ""
5570+
"El valor de *order* puede ser {'C', 'F', 'A'}. Cuando *order* es 'C' o 'F', "
5571+
"los datos en el *array* original se convierten al orden de C o Fortran. Para "
5572+
"vistas contiguas, 'A' devuelve una copia exacta de la memoria física. En "
5573+
"particular, el orden en memoria de Fortran se mantiene inalterado. Para "
5574+
"vista no contiguas, los datos se convierten primero a C. Definir "
5575+
"*order=None* es lo mismo que *order='C'*."
55395576

55405577
#: ../Doc/library/stdtypes.rst:3661
55415578
msgid ""
55425579
"Return a string object containing two hexadecimal digits for each byte in "
55435580
"the buffer. ::"
55445581
msgstr ""
5582+
"Devuelve una cadena de caracteres que contiene dos dígitos hexadecimales por "
5583+
"cada byte en el *buffer*::"
55455584

55465585
#: ../Doc/library/stdtypes.rst:3670
55475586
msgid ""
55485587
"Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional "
55495588
"*sep* and *bytes_per_sep* parameters to insert separators between bytes in "
55505589
"the hex output."
55515590
msgstr ""
5591+
"De forma similar a :meth:`bytes.hex`, :meth:`memoryview.hex` soporta ahora "
5592+
"los parámetros opcionales *sep* y *bytes_per_sep* para insertar separadores "
5593+
"entre los bytes en la cadena hexadecimal de salida."
55525594

55535595
#: ../Doc/library/stdtypes.rst:3677
55545596
msgid "Return the data in the buffer as a list of elements. ::"
5555-
msgstr ""
5597+
msgstr "Devuelve los datos en el *buffer* como una lista de elementos::"
55565598

55575599
#: ../Doc/library/stdtypes.rst:3687
55585600
msgid ""
55595601
":meth:`tolist` now supports all single character native formats in :mod:"
55605602
"`struct` module syntax as well as multi-dimensional representations."
55615603
msgstr ""
5604+
"El método :meth:`tolist` soporta ahora todos los formatos nativos de un solo "
5605+
"carácter definidos en el módulo :mod:`struct`, así como las representaciones "
5606+
"de múltiples dimensiones."
55625607

55635608
#: ../Doc/library/stdtypes.rst:3694
55645609
msgid ""
55655610
"Return a readonly version of the memoryview object. The original memoryview "
55665611
"object is unchanged. ::"
55675612
msgstr ""
5613+
"Devuelve una versión de solo lectura del objeto *memoryview*. El objeto "
5614+
"original permanece inalterado::"
55685615

55695616
#: ../Doc/library/stdtypes.rst:3713
55705617
msgid ""
@@ -5574,19 +5621,31 @@ msgid ""
55745621
"release() is handy to remove these restrictions (and free any dangling "
55755622
"resources) as soon as possible."
55765623
msgstr ""
5624+
"Libera el buffer subyacente expuesto por el objeto *memoryview*. Muchos "
5625+
"objetos realizan operaciones especiales cuando una vista los está "
5626+
"conteniendo (Por ejemplo, un objeto :class:`bytearray` temporalmente prohíbe "
5627+
"el cambio de tamaño); la llamada a *release()* sirve para eliminar estas "
5628+
"restricciones (Así como para tratar con los recursos pendientes) lo más "
5629+
"pronto posible."
55775630

55785631
#: ../Doc/library/stdtypes.rst:3719
55795632
msgid ""
55805633
"After this method has been called, any further operation on the view raises "
55815634
"a :class:`ValueError` (except :meth:`release()` itself which can be called "
55825635
"multiple times)::"
55835636
msgstr ""
5637+
"Después de que se ha llamado a este método, cualquier operación posterior "
5638+
"sobre la vista producirá una excepción de tipo :class:`ValueError`(Excepto "
5639+
"por el propio método :meth:`release()`, que puede ser llamado las veces que "
5640+
"se quiera)::"
55845641

55855642
#: ../Doc/library/stdtypes.rst:3730
55865643
msgid ""
55875644
"The context management protocol can be used for a similar effect, using the "
55885645
"``with`` statement::"
55895646
msgstr ""
5647+
"El protocolo de gestión de contexto puede ser usado para obtener un efecto "
5648+
"similar, usando la sentencia ``with``::"
55905649

55915650
#: ../Doc/library/stdtypes.rst:3746
55925651
msgid ""

0 commit comments

Comments
 (0)