Skip to content

Commit 9d5457d

Browse files
committed
Progreso al 72%
1 parent 93d95e1 commit 9d5457d

File tree

1 file changed

+42
-7
lines changed

1 file changed

+42
-7
lines changed

library/stdtypes.po

+42-7
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-07 00:44+0100\n"
14+
"PO-Revision-Date: 2020-06-09 22: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"
@@ -5331,49 +5331,59 @@ msgid ""
53315331
"Bytes (converts any Python object using ``repr(obj)."
53325332
"encode('ascii','backslashreplace)``)."
53335333
msgstr ""
5334+
"Bytes (Convierte cualquier objeto Python usando ``repr(obj)."
5335+
"encode('ascii','backslashreplace)``)."
53345336

53355337
#: ../Doc/library/stdtypes.rst:3426
53365338
msgid ""
53375339
"``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code "
53385340
"bases."
53395341
msgstr ""
5342+
"``'r'`` es un alias de ``'a'`` y solo debe ser usado para bases de código "
5343+
"Python2/3"
53405344

53415345
#: ../Doc/library/stdtypes.rst:3426
53425346
msgid "\\(7)"
5343-
msgstr ""
5347+
msgstr "\\(7)"
53445348

53455349
#: ../Doc/library/stdtypes.rst:3461
53465350
#, python-format
53475351
msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series."
5348-
msgstr ""
5352+
msgstr "``b'%s'`` está obsoleto, pero no se retirará durante la serie 3.x."
53495353

53505354
#: ../Doc/library/stdtypes.rst:3464
53515355
#, python-format
53525356
msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series."
5353-
msgstr ""
5357+
msgstr "``b'%r'`` está obsoleto, pero no se retirará durante la serie 3.x."
53545358

53555359
#: ../Doc/library/stdtypes.rst:3476
53565360
#, python-format
53575361
msgid ":pep:`461` - Adding % formatting to bytes and bytearray"
5358-
msgstr ""
5362+
msgstr ":pep:`461` - Añadir formateo usando % con bytes y *bytearray*"
53595363

53605364
#: ../Doc/library/stdtypes.rst:3483
53615365
msgid "Memory Views"
5362-
msgstr ""
5366+
msgstr "Vistas de memoria"
53635367

53645368
#: ../Doc/library/stdtypes.rst:3485
53655369
msgid ""
53665370
":class:`memoryview` objects allow Python code to access the internal data of "
53675371
"an object that supports the :ref:`buffer protocol <bufferobjects>` without "
53685372
"copying."
53695373
msgstr ""
5374+
"Los objetos de tipo :class:`memoryview` permiten al código Python acceder a "
5375+
"los datos internos de objetos que soporten el :ref:`protocolo buffer "
5376+
"<bufferobjects>` sin necesidad de hacer copias."
53705377

53715378
#: ../Doc/library/stdtypes.rst:3491
53725379
msgid ""
53735380
"Create a :class:`memoryview` that references *obj*. *obj* must support the "
53745381
"buffer protocol. Built-in objects that support the buffer protocol include :"
53755382
"class:`bytes` and :class:`bytearray`."
53765383
msgstr ""
5384+
"Crea un :class:`memoryview` que referencia *obj*. La variable *obj* debe "
5385+
"soportar el protocolo buffer. Los tipos de datos básicos que soportan el "
5386+
"protocolo buffer incluyen los :class:`bytes` y :class:`bytearray`."
53775387

53785388
#: ../Doc/library/stdtypes.rst:3495
53795389
msgid ""
@@ -5382,6 +5392,11 @@ msgid ""
53825392
"such as :class:`bytes` and :class:`bytearray`, an element is a single byte, "
53835393
"but other types such as :class:`array.array` may have bigger elements."
53845394
msgstr ""
5395+
"La clase :class:`memoryview` usa el concepto de *elemento*, que es la unidad "
5396+
"de memoria atómica gestionada por el objeto original *obj*. Para muchos "
5397+
"tipos de datos simples como :class:`bytes` y :class:`bytearray`, un elemento "
5398+
"es un único byte, pero otros tipos, como la clase :class:`array.array` "
5399+
"pueden tener elementos más grandes."
53855400

53865401
#: ../Doc/library/stdtypes.rst:3501
53875402
msgid ""
@@ -5392,12 +5407,21 @@ msgid ""
53925407
"The :class:`~memoryview.itemsize` attribute will give you the number of "
53935408
"bytes in a single element."
53945409
msgstr ""
5410+
"El resultado de ``len(view)`` es igual a la longitud de :class:`~memoryview."
5411+
"tolist`. Si ``view.ndim = 0``, la longitud es 1. Si ``view.ndim = 1``, la "
5412+
"longitud es igual al número de elementos en la vista. Para dimensiones "
5413+
"superiores, la longitud es igual a la de la representación como lista "
5414+
"anidada de la vista. El atributo :class:`~memoryview.itemsize` contiene el "
5415+
"número de bytes que ocupa un único elemento."
53955416

53965417
#: ../Doc/library/stdtypes.rst:3508
53975418
msgid ""
53985419
"A :class:`memoryview` supports slicing and indexing to expose its data. One-"
53995420
"dimensional slicing will result in a subview::"
54005421
msgstr ""
5422+
"Un objeto de tipo :class:`memoryview` soporta operaciones de rebanado y "
5423+
"acceso por índices a sus datos. Un rebanado unidimensional producirá una sub-"
5424+
"vista::"
54015425

54025426
#: ../Doc/library/stdtypes.rst:3521
54035427
msgid ""
@@ -5409,16 +5433,27 @@ msgid ""
54095433
"*ndim* integers where *ndim* is the number of dimensions. Zero-dimensional "
54105434
"memoryviews can be indexed with the empty tuple."
54115435
msgstr ""
5436+
"Si :class:`~memoryview.format` es uno de los especificadores de formato "
5437+
"nativos del módulo :mod:`struct`, el indexado con un número entero o una "
5438+
"tupla de números enteros también es posible, y devuelve un único *elemento* "
5439+
"con el tipo adecuado. Objetos *memoryview* unidimensionales pueden ser "
5440+
"indexados con un entero o con una tupla de enteros. Los *memoryview* con "
5441+
"múltiples dimensiones pueden ser indexados con tuplas de exactamente *ndim* "
5442+
"enteros, donde *ndim* es el número de dimensiones. Vistas *memoryviews* con "
5443+
"cero dimensiones pueden ser indexados con una tupla vacía."
54125444

54135445
#: ../Doc/library/stdtypes.rst:3530
54145446
msgid "Here is an example with a non-byte format::"
5415-
msgstr ""
5447+
msgstr "Aquí hay un ejemplo con un formato que no es un byte::"
54165448

54175449
#: ../Doc/library/stdtypes.rst:3542
54185450
msgid ""
54195451
"If the underlying object is writable, the memoryview supports one-"
54205452
"dimensional slice assignment. Resizing is not allowed::"
54215453
msgstr ""
5454+
"Si el objeto usado para crear la vista es modificable, la vista *memoryview* "
5455+
"soporta asignación unidimensional mediante rebanadas. Sin embargo, no se "
5456+
"permite el cambio de tamaño::"
54225457

54235458
#: ../Doc/library/stdtypes.rst:3563
54245459
msgid ""

0 commit comments

Comments
 (0)