@@ -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-07 14:37+0200\n "
14
- "PO-Revision-Date : 2020-05-14 09:44 +0200\n "
14
+ "PO-Revision-Date : 2020-05-15 01:17 +0200\n "
15
15
"Last-Translator : \n "
16
16
"Language : es\n "
17
17
"Language-Team : python-doc-esMIME-Version: 1.0\n "
@@ -421,6 +421,8 @@ msgid ""
421
421
"Raises an :ref:`auditing event <auditing>` ``builtins.breakpoint`` with "
422
422
"argument ``breakpointhook``."
423
423
msgstr ""
424
+ "Lanza un :ref:`auditing event <auditing>` ``builtins.breakpoint` con "
425
+ "argumento ``breakpointhook``."
424
426
425
427
#: ../Doc/library/functions.rst:139
426
428
msgid ""
@@ -429,45 +431,61 @@ msgid ""
429
431
"methods of mutable sequences, described in :ref:`typesseq-mutable`, as well "
430
432
"as most methods that the :class:`bytes` type has, see :ref:`bytes-methods`."
431
433
msgstr ""
434
+ "Devuelve un nuevo array de bytes. La clase :class:`bytearray` es una "
435
+ "secuencia mutable de enteros en el rango 0 <= x < 256. Tiene la mayoría de "
436
+ "los métodos comunes en las secuencias mutables, descritos en :ref:`typesseq-"
437
+ "mutable`, así como la mayoría de los métodos que la clase :class:`bytes` "
438
+ "tiene, véase :ref:`bytes-methods`."
432
439
433
440
#: ../Doc/library/functions.rst:144
434
441
msgid ""
435
442
"The optional *source* parameter can be used to initialize the array in a few "
436
443
"different ways:"
437
444
msgstr ""
445
+ "El parámetro opcional *source* puede ser empleado para inicializar el array "
446
+ "de varias maneras distintas:"
438
447
439
448
#: ../Doc/library/functions.rst:147
440
449
msgid ""
441
450
"If it is a *string*, you must also give the *encoding* (and optionally, "
442
451
"*errors*) parameters; :func:`bytearray` then converts the string to bytes "
443
452
"using :meth:`str.encode`."
444
453
msgstr ""
454
+ "Si es una *string*, debes proporcionar también el parámetro *encoding* (y "
455
+ "opcionalmente, *errors*; entonces :func:`bytearray` convierte la cadena a "
456
+ "bytes empleando :meth:`str.encode`."
445
457
446
458
#: ../Doc/library/functions.rst:151
447
459
msgid ""
448
460
"If it is an *integer*, the array will have that size and will be initialized "
449
461
"with null bytes."
450
462
msgstr ""
463
+ "Si es un *integer*, el array tendrá ese tamaño y será inicializado con bytes "
464
+ "nulos."
451
465
452
466
#: ../Doc/library/functions.rst:154
453
467
msgid ""
454
468
"If it is an object conforming to the *buffer* interface, a read-only buffer "
455
469
"of the object will be used to initialize the bytes array."
456
470
msgstr ""
471
+ "Si es un objeto que se ajusta a la interfaz de *buffer*, un buffer de sólo "
472
+ "lectura del objeto será utilizado para inicializar el array de bytes."
457
473
458
474
#: ../Doc/library/functions.rst:157
459
475
msgid ""
460
476
"If it is an *iterable*, it must be an iterable of integers in the range ``0 "
461
477
"<= x < 256``, which are used as the initial contents of the array."
462
478
msgstr ""
479
+ "Si es un *iterable*, debe ser un iterable de enteros en el rango ``0 <= x < "
480
+ "256``, que son usados como los contenidos iniciales del array."
463
481
464
482
#: ../Doc/library/functions.rst:160
465
483
msgid "Without an argument, an array of size 0 is created."
466
- msgstr ""
484
+ msgstr "Sin argumento, se crea un array de tamaño 0. "
467
485
468
486
#: ../Doc/library/functions.rst:162
469
487
msgid "See also :ref:`binaryseq` and :ref:`typebytearray`."
470
- msgstr ""
488
+ msgstr "Ver también: :ref:`binaryseq` y :ref:`typebytearray`. "
471
489
472
490
#: ../Doc/library/functions.rst:169
473
491
msgid ""
@@ -476,19 +494,28 @@ msgid ""
476
494
"class:`bytearray` -- it has the same non-mutating methods and the same "
477
495
"indexing and slicing behavior."
478
496
msgstr ""
497
+ "Devuelve un nuevo objeto *bytes*, que es una secuencia inmutable de enteros "
498
+ "en el rango ``0 <= x < 256``. :class:`bytes` es una versión inmutable de :"
499
+ "class:`bytearray` — tiene los mismos métodos no-mutables y el mismo "
500
+ "comportamiento en términos de indexación y rebanado."
479
501
480
502
#: ../Doc/library/functions.rst:174
481
503
msgid ""
482
504
"Accordingly, constructor arguments are interpreted as for :func:`bytearray`."
483
505
msgstr ""
506
+ "En consecuencia, los argumentos del constructor son interpretados como para :"
507
+ "func:`bytearray`."
484
508
485
509
#: ../Doc/library/functions.rst:176
486
510
msgid "Bytes objects can also be created with literals, see :ref:`strings`."
487
511
msgstr ""
512
+ "Los objetos de bytes también pueden ser creados con literales, ver :ref:"
513
+ "`strings`."
488
514
489
515
#: ../Doc/library/functions.rst:178
490
516
msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`."
491
517
msgstr ""
518
+ "Ver también :ref:`binaryseq`, :ref:`typebytes`, y :ref:`bytes-methods`."
492
519
493
520
#: ../Doc/library/functions.rst:183
494
521
msgid ""
@@ -498,12 +525,20 @@ msgid ""
498
525
"that classes are callable (calling a class returns a new instance); "
499
526
"instances are callable if their class has a :meth:`__call__` method."
500
527
msgstr ""
528
+ "Devuelve :const:`True` si el argumento *object* parece invocable, y :const:"
529
+ "`False` sino. Si devuelve ``True``, aun es posible que la invocación falle, "
530
+ "pero si es ``False``, invocar el *object* no funcionará nunca. Tenga en "
531
+ "cuenta que las clases son invocables (ya que llamarlas devuelve una "
532
+ "instancia nueva); y que las instancias lo serán si su clase tiene un método :"
533
+ "meth:`__call__`."
501
534
502
535
#: ../Doc/library/functions.rst:189
503
536
msgid ""
504
537
"This function was first removed in Python 3.0 and then brought back in "
505
538
"Python 3.2."
506
539
msgstr ""
540
+ "Está función fue eliminada por primera vez en Python 3.0 y traída de vuelta "
541
+ "en Python 3.2."
507
542
508
543
#: ../Doc/library/functions.rst:196
509
544
msgid ""
@@ -1050,7 +1085,7 @@ msgstr ""
1050
1085
"Devuelve un número de punto flotante construido a partir de un número o una "
1051
1086
"cadena *x*."
1052
1087
1053
- # no estoy segura de si debo traducir not-a-number
1088
+ # no estoy segura de si debo traducir not-a-number
1054
1089
#: ../Doc/library/functions.rst:576
1055
1090
#, fuzzy
1056
1091
msgid ""
@@ -1097,7 +1132,7 @@ msgstr ""
1097
1132
"flotante, se devuelve un número de punto flotante del mismo valor (dentro de "
1098
1133
"la precisión de punto flotante de Python). Si el argumento está fuera del "
1099
1134
"rango de un punto flotante de Python, se generará una excepción :exc:"
1100
- "`OverflowError` "
1135
+ "`OverflowError`. "
1101
1136
1102
1137
#: ../Doc/library/functions.rst:601
1103
1138
msgid ""
0 commit comments