@@ -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-05-13 18:54 +0100\n "
14
+ "PO-Revision-Date : 2020-05-13 21:34 +0100\n "
15
15
"
Last-Translator :
Juan Ignacio Rodríguez de León <[email protected] >\n "
16
16
"Language-Team : python-doc-es\n "
17
17
"MIME-Version : 1.0\n "
@@ -1338,23 +1338,31 @@ msgstr ""
1338
1338
"objetos Python en la API Python/C."
1339
1339
1340
1340
#: ../Doc/library/stdtypes.rst:792
1341
+ #, fuzzy
1341
1342
msgid ""
1342
1343
"Python defines several iterator objects to support iteration over general "
1343
1344
"and specific sequence types, dictionaries, and other more specialized "
1344
1345
"forms. The specific types are not important beyond their implementation of "
1345
1346
"the iterator protocol."
1346
1347
msgstr ""
1348
+ "Python define varios objetos iteradores que permiten iterar sobre las "
1349
+ "secuencias, ya sean generales o específicas, diccionarios y otras "
1350
+ "estructuras de datos especializadas. Los tipos específicos no son tan "
1351
+ "importantes como la implementación del protocolo iterador."
1347
1352
1348
1353
#: ../Doc/library/stdtypes.rst:797
1349
1354
msgid ""
1350
1355
"Once an iterator's :meth:`~iterator.__next__` method raises :exc:"
1351
1356
"`StopIteration`, it must continue to do so on subsequent calls. "
1352
1357
"Implementations that do not obey this property are deemed broken."
1353
1358
msgstr ""
1359
+ "Una vez que la ejecución del método :meth:`~iterator.__next__` eleva la "
1360
+ "excepción :exc:`StopIteration`, debe continuar haciéndolo en subsiguientes "
1361
+ "llamadas al método. Si una implementación no cumple esto, se considera rota."
1354
1362
1355
1363
#: ../Doc/library/stdtypes.rst:805
1356
1364
msgid "Generator Types"
1357
- msgstr ""
1365
+ msgstr "Tipos Generador "
1358
1366
1359
1367
#: ../Doc/library/stdtypes.rst:807
1360
1368
msgid ""
@@ -1365,10 +1373,17 @@ msgid ""
1365
1373
"`~generator.__next__` methods. More information about generators can be "
1366
1374
"found in :ref:`the documentation for the yield expression <yieldexpr>`."
1367
1375
msgstr ""
1376
+ "Los :term:`generadores` de Python proporcionan una manera cómoda de "
1377
+ "implementar el protocolo iterador. Si un objeto de tipo contenedor "
1378
+ "implementa el método :meth:`__iter__` como un generador, de forma automática "
1379
+ "este devolverá un objeto iterador (Técnicamente, un objeto generador) que "
1380
+ "implementa los métodos :meth:`__iter__` y :meth:`~generator.__next__`. Se "
1381
+ "puede obtener más información acerca de los generadores en:ref:`la "
1382
+ "documentación de la expresión yield <yieldexpr>`."
1368
1383
1369
1384
#: ../Doc/library/stdtypes.rst:819
1370
1385
msgid "Sequence Types --- :class:`list`, :class:`tuple`, :class:`range`"
1371
- msgstr ""
1386
+ msgstr "Tipos secuencia --- :class:`list`, :class:`tuple`, :class:`range` "
1372
1387
1373
1388
#: ../Doc/library/stdtypes.rst:821
1374
1389
msgid ""
@@ -1377,10 +1392,14 @@ msgid ""
1377
1392
"<binaryseq>` and :ref:`text strings <textseq>` are described in dedicated "
1378
1393
"sections."
1379
1394
msgstr ""
1395
+ "Hay tres tipos básicos de secuencia: listas, tuplas y objetos de tipo rango. "
1396
+ "Existen tipos de secuencia especiales usados para el procesado de :ref:"
1397
+ "`datos binarios <binaryseq>` y :ref:`cadenas de texto <textseq>` que se "
1398
+ "describirán en secciones específicas."
1380
1399
1381
1400
#: ../Doc/library/stdtypes.rst:830
1382
1401
msgid "Common Sequence Operations"
1383
- msgstr ""
1402
+ msgstr "Operaciones comunes de las secuencias "
1384
1403
1385
1404
#: ../Doc/library/stdtypes.rst:834
1386
1405
msgid ""
@@ -1389,6 +1408,10 @@ msgid ""
1389
1408
"provided to make it easier to correctly implement these operations on custom "
1390
1409
"sequence types."
1391
1410
msgstr ""
1411
+ "Las operaciones de la siguiente tabla están soportadas por la mayoría de los "
1412
+ "tipos secuencia, tanto mutables como inmutables. La clase ABC :class:"
1413
+ "`collections.abc.Sequence` se incluye para facilitar la implementación "
1414
+ "correcta de estas operaciones en nuestros propios tipos de secuencias."
1392
1415
1393
1416
#: ../Doc/library/stdtypes.rst:839
1394
1417
msgid ""
@@ -1397,6 +1420,10 @@ msgid ""
1397
1420
"are integers and *x* is an arbitrary object that meets any type and value "
1398
1421
"restrictions imposed by *s*."
1399
1422
msgstr ""
1423
+ "La tabla lista las operaciones ordenadas de menor a mayor prioridad. En la "
1424
+ "tabla, *s* y *t* representan secuencias del mismo tipo, *n*, *i*, *j* y *k* "
1425
+ "son números enteros y *x* es un objeto arbitrario que cumple con cualquier "
1426
+ "restricción de tipo o valor impuesta por *s*."
1400
1427
1401
1428
#: ../Doc/library/stdtypes.rst:844
1402
1429
msgid ""
@@ -1405,124 +1432,131 @@ msgid ""
1405
1432
"operations have the same priority as the corresponding numeric operations. "
1406
1433
"[3]_"
1407
1434
msgstr ""
1435
+ "Las operaciones ``in`` y ``not in`` tienen la misma prioridad que los "
1436
+ "operadores de comparación. Las operaciones ``+`` (Concatenación) y ``*`` "
1437
+ "(Repetición) tienen la misma prioridad que sus equivalentes numéricos [3]_."
1408
1438
1409
1439
#: ../Doc/library/stdtypes.rst:865
1410
1440
msgid "``x in s``"
1411
- msgstr ""
1441
+ msgstr "``x in s`` "
1412
1442
1413
1443
#: ../Doc/library/stdtypes.rst:865
1414
1444
msgid "``True`` if an item of *s* is equal to *x*, else ``False``"
1415
1445
msgstr ""
1446
+ "``True`` si un elemento de *s* es igual a *x*, ``False`` en caso contrario."
1416
1447
1417
1448
#: ../Doc/library/stdtypes.rst:868
1418
1449
msgid "``x not in s``"
1419
- msgstr ""
1450
+ msgstr "``x not in s`` "
1420
1451
1421
1452
#: ../Doc/library/stdtypes.rst:868
1422
1453
msgid "``False`` if an item of *s* is equal to *x*, else ``True``"
1423
1454
msgstr ""
1455
+ "``False`` si un elemento de *s* es igual a *x*, ``True`` en caso contrario."
1424
1456
1425
1457
#: ../Doc/library/stdtypes.rst:871
1426
1458
msgid "``s + t``"
1427
- msgstr ""
1459
+ msgstr "``s + t`` "
1428
1460
1429
1461
#: ../Doc/library/stdtypes.rst:871
1430
1462
msgid "the concatenation of *s* and *t*"
1431
- msgstr ""
1463
+ msgstr "La concatenación de *s* y *t*. "
1432
1464
1433
1465
#: ../Doc/library/stdtypes.rst:871
1434
1466
msgid "(6)(7)"
1435
- msgstr ""
1467
+ msgstr "(6)(7) "
1436
1468
1437
1469
#: ../Doc/library/stdtypes.rst:874
1438
1470
msgid "``s * n`` or ``n * s``"
1439
- msgstr ""
1471
+ msgstr "``s * n`` o ``n * s`` "
1440
1472
1441
1473
#: ../Doc/library/stdtypes.rst:874
1442
1474
msgid "equivalent to adding *s* to itself *n* times"
1443
- msgstr ""
1475
+ msgstr "Equivale a concatenar *s* consigo mismo *n* veces. "
1444
1476
1445
1477
#: ../Doc/library/stdtypes.rst:874
1446
1478
msgid "(2)(7)"
1447
- msgstr ""
1479
+ msgstr "(2)(7) "
1448
1480
1449
1481
#: ../Doc/library/stdtypes.rst:877
1450
1482
msgid "``s[i]``"
1451
- msgstr ""
1483
+ msgstr "``s[i]`` "
1452
1484
1453
1485
#: ../Doc/library/stdtypes.rst:877
1454
1486
msgid "*i*\\ th item of *s*, origin 0"
1455
- msgstr ""
1487
+ msgstr "El elemento *i*-esimo de *s*, empezando a contar en 0. "
1456
1488
1457
1489
#: ../Doc/library/stdtypes.rst:879
1458
1490
msgid "``s[i:j]``"
1459
- msgstr ""
1491
+ msgstr "``s[i:j]`` "
1460
1492
1461
1493
#: ../Doc/library/stdtypes.rst:879
1462
1494
msgid "slice of *s* from *i* to *j*"
1463
- msgstr ""
1495
+ msgstr "La rebanada de *s* desde *i* hasta *j*. "
1464
1496
1465
1497
#: ../Doc/library/stdtypes.rst:879
1466
1498
msgid "(3)(4)"
1467
- msgstr ""
1499
+ msgstr "(3)(4) "
1468
1500
1469
1501
#: ../Doc/library/stdtypes.rst:881
1470
1502
msgid "``s[i:j:k]``"
1471
- msgstr ""
1503
+ msgstr "``s[i:j:k]`` "
1472
1504
1473
1505
#: ../Doc/library/stdtypes.rst:881
1474
1506
msgid "slice of *s* from *i* to *j* with step *k*"
1475
- msgstr ""
1507
+ msgstr "La rebanada de *s* desde *i* hasta *j*, con paso *j*. "
1476
1508
1477
1509
#: ../Doc/library/stdtypes.rst:881
1478
1510
msgid "(3)(5)"
1479
- msgstr ""
1511
+ msgstr "(3)(5) "
1480
1512
1481
1513
#: ../Doc/library/stdtypes.rst:884
1482
1514
msgid "``len(s)``"
1483
- msgstr ""
1515
+ msgstr "``len(s)`` "
1484
1516
1485
1517
#: ../Doc/library/stdtypes.rst:884
1486
1518
msgid "length of *s*"
1487
- msgstr ""
1519
+ msgstr "Longitud de *s*. "
1488
1520
1489
1521
#: ../Doc/library/stdtypes.rst:886
1490
1522
msgid "``min(s)``"
1491
- msgstr ""
1523
+ msgstr "``min(s)`` "
1492
1524
1493
1525
#: ../Doc/library/stdtypes.rst:886
1494
1526
msgid "smallest item of *s*"
1495
- msgstr ""
1527
+ msgstr "El elemento más pequeño de *s*. "
1496
1528
1497
1529
#: ../Doc/library/stdtypes.rst:888
1498
1530
msgid "``max(s)``"
1499
- msgstr ""
1531
+ msgstr "``max(s)`` "
1500
1532
1501
1533
#: ../Doc/library/stdtypes.rst:888
1502
1534
msgid "largest item of *s*"
1503
- msgstr ""
1535
+ msgstr "El elemento más grande de *s*. "
1504
1536
1505
1537
#: ../Doc/library/stdtypes.rst:890
1506
1538
msgid "``s.index(x[, i[, j]])``"
1507
- msgstr ""
1539
+ msgstr "``s.index(x[, i[, j]])`` "
1508
1540
1509
1541
#: ../Doc/library/stdtypes.rst:890
1510
1542
msgid ""
1511
1543
"index of the first occurrence of *x* in *s* (at or after index *i* and "
1512
1544
"before index *j*)"
1513
1545
msgstr ""
1546
+ "Índice de la primera ocurrencia de *x* en *s* (en la posición *i* o "
1547
+ "superior, y antes de *j*)"
1514
1548
1515
1549
#: ../Doc/library/stdtypes.rst:890 ../Doc/library/stdtypes.rst:3391
1516
1550
msgid "\\ (8)"
1517
- msgstr ""
1551
+ msgstr "\\ (8) "
1518
1552
1519
1553
#: ../Doc/library/stdtypes.rst:894
1520
1554
msgid "``s.count(x)``"
1521
- msgstr ""
1555
+ msgstr "``s.count(x)`` "
1522
1556
1523
1557
#: ../Doc/library/stdtypes.rst:894
1524
1558
msgid "total number of occurrences of *x* in *s*"
1525
- msgstr ""
1559
+ msgstr "Número total de ocurrencias de *x* en *s*. "
1526
1560
1527
1561
#: ../Doc/library/stdtypes.rst:898
1528
1562
msgid ""
@@ -1532,6 +1566,12 @@ msgid ""
1532
1566
"and the two sequences must be of the same type and have the same length. "
1533
1567
"(For full details see :ref:`comparisons` in the language reference.)"
1534
1568
msgstr ""
1569
+ "También se pueden comparar secuencias del mismo tipo. En particular, las "
1570
+ "tuplas y las listas se comparan léxicográficamente, comparando los elementos "
1571
+ "en la misma posición. Esto significa que, para que se consideren iguales, "
1572
+ "todos los elementos correspondientes deben ser iguales y las dos secuencias "
1573
+ "deben ser del mismo tipo y de la misma longitud (Para más detalles véase :"
1574
+ "ref:`comparaciones` en la referencia del lenguaje)."
1535
1575
1536
1576
#: ../Doc/library/stdtypes.rst:907
1537
1577
msgid ""
0 commit comments