@@ -11,7 +11,7 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"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 "
15
15
"Last-Translator : Juan Ignacio Rodríguez de León <euribates@gmail.com>\n "
16
16
"Language-Team : python-doc-es\n "
17
17
"MIME-Version : 1.0\n "
@@ -5331,49 +5331,59 @@ msgid ""
5331
5331
"Bytes (converts any Python object using ``repr(obj)."
5332
5332
"encode('ascii','backslashreplace)``)."
5333
5333
msgstr ""
5334
+ "Bytes (Convierte cualquier objeto Python usando ``repr(obj)."
5335
+ "encode('ascii','backslashreplace)``)."
5334
5336
5335
5337
#: ../Doc/library/stdtypes.rst:3426
5336
5338
msgid ""
5337
5339
"``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code "
5338
5340
"bases."
5339
5341
msgstr ""
5342
+ "``'r'`` es un alias de ``'a'`` y solo debe ser usado para bases de código "
5343
+ "Python2/3"
5340
5344
5341
5345
#: ../Doc/library/stdtypes.rst:3426
5342
5346
msgid "\\ (7)"
5343
- msgstr ""
5347
+ msgstr "\\ (7) "
5344
5348
5345
5349
#: ../Doc/library/stdtypes.rst:3461
5346
5350
#, python-format
5347
5351
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. "
5349
5353
5350
5354
#: ../Doc/library/stdtypes.rst:3464
5351
5355
#, python-format
5352
5356
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. "
5354
5358
5355
5359
#: ../Doc/library/stdtypes.rst:3476
5356
5360
#, python-format
5357
5361
msgid ":pep:`461` - Adding % formatting to bytes and bytearray"
5358
- msgstr ""
5362
+ msgstr ":pep:`461` - Añadir formateo usando % con bytes y *bytearray* "
5359
5363
5360
5364
#: ../Doc/library/stdtypes.rst:3483
5361
5365
msgid "Memory Views"
5362
- msgstr ""
5366
+ msgstr "Vistas de memoria "
5363
5367
5364
5368
#: ../Doc/library/stdtypes.rst:3485
5365
5369
msgid ""
5366
5370
":class:`memoryview` objects allow Python code to access the internal data of "
5367
5371
"an object that supports the :ref:`buffer protocol <bufferobjects>` without "
5368
5372
"copying."
5369
5373
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."
5370
5377
5371
5378
#: ../Doc/library/stdtypes.rst:3491
5372
5379
msgid ""
5373
5380
"Create a :class:`memoryview` that references *obj*. *obj* must support the "
5374
5381
"buffer protocol. Built-in objects that support the buffer protocol include :"
5375
5382
"class:`bytes` and :class:`bytearray`."
5376
5383
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`."
5377
5387
5378
5388
#: ../Doc/library/stdtypes.rst:3495
5379
5389
msgid ""
@@ -5382,6 +5392,11 @@ msgid ""
5382
5392
"such as :class:`bytes` and :class:`bytearray`, an element is a single byte, "
5383
5393
"but other types such as :class:`array.array` may have bigger elements."
5384
5394
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."
5385
5400
5386
5401
#: ../Doc/library/stdtypes.rst:3501
5387
5402
msgid ""
@@ -5392,12 +5407,21 @@ msgid ""
5392
5407
"The :class:`~memoryview.itemsize` attribute will give you the number of "
5393
5408
"bytes in a single element."
5394
5409
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."
5395
5416
5396
5417
#: ../Doc/library/stdtypes.rst:3508
5397
5418
msgid ""
5398
5419
"A :class:`memoryview` supports slicing and indexing to expose its data. One-"
5399
5420
"dimensional slicing will result in a subview::"
5400
5421
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::"
5401
5425
5402
5426
#: ../Doc/library/stdtypes.rst:3521
5403
5427
msgid ""
@@ -5409,16 +5433,27 @@ msgid ""
5409
5433
"*ndim* integers where *ndim* is the number of dimensions. Zero-dimensional "
5410
5434
"memoryviews can be indexed with the empty tuple."
5411
5435
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."
5412
5444
5413
5445
#: ../Doc/library/stdtypes.rst:3530
5414
5446
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:: "
5416
5448
5417
5449
#: ../Doc/library/stdtypes.rst:3542
5418
5450
msgid ""
5419
5451
"If the underlying object is writable, the memoryview supports one-"
5420
5452
"dimensional slice assignment. Resizing is not allowed::"
5421
5453
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::"
5422
5457
5423
5458
#: ../Doc/library/stdtypes.rst:3563
5424
5459
msgid ""
0 commit comments