Skip to content

Commit bfca466

Browse files
committed
bytearray, bytes and callable translated
1 parent aeac0a7 commit bfca466

File tree

2 files changed

+50
-13
lines changed

2 files changed

+50
-13
lines changed

dict

+10-8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ASCII
33
Aahz
44
Adam
55
Adler
6+
Ahlstrom
67
Alex
78
Android
89
Associates
@@ -43,7 +44,9 @@ Inf
4344
Interesantemente
4445
Java
4546
Jim
47+
Just
4648
Jython
49+
Katz
4750
Kivy
4851
L
4952
Laird
@@ -67,6 +70,7 @@ Package
6770
Pasarles
6871
Paul
6972
Perl
73+
Phil
7074
Pillow
7175
PyFLTK
7276
PyGtk
@@ -79,6 +83,7 @@ Qt
7983
Randal
8084
Reilly
8185
Rezinsky
86+
Rossum
8287
Ruby
8388
SYSV
8489
Schwartz
@@ -101,6 +106,7 @@ WWW
101106
Windows
102107
X
103108
Xt
109+
Zip
104110
aleatoriamente
105111
append
106112
aproximarla
@@ -119,6 +125,7 @@ bash
119125
batch
120126
big-endian
121127
bloqueante
128+
buffer
122129
bug
123130
built
124131
byte
@@ -188,6 +195,7 @@ indentadas
188195
indentado
189196
indentando
190197
indexables
198+
indexación
191199
inf
192200
inicializa
193201
inicialización
@@ -360,12 +368,6 @@ wxPython
360368
wxWidgets
361369
wxwidgets
362370
x
363-
zlib
364-
Zip
365-
Phil
366-
Katz
367-
Ahlstrom
368-
Just
369-
Rossum
371+
zip
370372
zipimporter
371-
zip
373+
zlib

library/functions.po

+40-5
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-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"
1515
"Last-Translator: \n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-esMIME-Version: 1.0\n"
@@ -421,6 +421,8 @@ msgid ""
421421
"Raises an :ref:`auditing event <auditing>` ``builtins.breakpoint`` with "
422422
"argument ``breakpointhook``."
423423
msgstr ""
424+
"Lanza un :ref:`auditing event <auditing>` ``builtins.breakpoint` con "
425+
"argumento ``breakpointhook``."
424426

425427
#: ../Doc/library/functions.rst:139
426428
msgid ""
@@ -429,45 +431,61 @@ msgid ""
429431
"methods of mutable sequences, described in :ref:`typesseq-mutable`, as well "
430432
"as most methods that the :class:`bytes` type has, see :ref:`bytes-methods`."
431433
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`."
432439

433440
#: ../Doc/library/functions.rst:144
434441
msgid ""
435442
"The optional *source* parameter can be used to initialize the array in a few "
436443
"different ways:"
437444
msgstr ""
445+
"El parámetro opcional *source* puede ser empleado para inicializar el array "
446+
"de varias maneras distintas:"
438447

439448
#: ../Doc/library/functions.rst:147
440449
msgid ""
441450
"If it is a *string*, you must also give the *encoding* (and optionally, "
442451
"*errors*) parameters; :func:`bytearray` then converts the string to bytes "
443452
"using :meth:`str.encode`."
444453
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`."
445457

446458
#: ../Doc/library/functions.rst:151
447459
msgid ""
448460
"If it is an *integer*, the array will have that size and will be initialized "
449461
"with null bytes."
450462
msgstr ""
463+
"Si es un *integer*, el array tendrá ese tamaño y será inicializado con bytes "
464+
"nulos."
451465

452466
#: ../Doc/library/functions.rst:154
453467
msgid ""
454468
"If it is an object conforming to the *buffer* interface, a read-only buffer "
455469
"of the object will be used to initialize the bytes array."
456470
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."
457473

458474
#: ../Doc/library/functions.rst:157
459475
msgid ""
460476
"If it is an *iterable*, it must be an iterable of integers in the range ``0 "
461477
"<= x < 256``, which are used as the initial contents of the array."
462478
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."
463481

464482
#: ../Doc/library/functions.rst:160
465483
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."
467485

468486
#: ../Doc/library/functions.rst:162
469487
msgid "See also :ref:`binaryseq` and :ref:`typebytearray`."
470-
msgstr ""
488+
msgstr "Ver también: :ref:`binaryseq` y :ref:`typebytearray`."
471489

472490
#: ../Doc/library/functions.rst:169
473491
msgid ""
@@ -476,19 +494,28 @@ msgid ""
476494
"class:`bytearray` -- it has the same non-mutating methods and the same "
477495
"indexing and slicing behavior."
478496
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."
479501

480502
#: ../Doc/library/functions.rst:174
481503
msgid ""
482504
"Accordingly, constructor arguments are interpreted as for :func:`bytearray`."
483505
msgstr ""
506+
"En consecuencia, los argumentos del constructor son interpretados como para :"
507+
"func:`bytearray`."
484508

485509
#: ../Doc/library/functions.rst:176
486510
msgid "Bytes objects can also be created with literals, see :ref:`strings`."
487511
msgstr ""
512+
"Los objetos de bytes también pueden ser creados con literales, ver :ref:"
513+
"`strings`."
488514

489515
#: ../Doc/library/functions.rst:178
490516
msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`."
491517
msgstr ""
518+
"Ver también :ref:`binaryseq`, :ref:`typebytes`, y :ref:`bytes-methods`."
492519

493520
#: ../Doc/library/functions.rst:183
494521
msgid ""
@@ -498,12 +525,20 @@ msgid ""
498525
"that classes are callable (calling a class returns a new instance); "
499526
"instances are callable if their class has a :meth:`__call__` method."
500527
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__`."
501534

502535
#: ../Doc/library/functions.rst:189
503536
msgid ""
504537
"This function was first removed in Python 3.0 and then brought back in "
505538
"Python 3.2."
506539
msgstr ""
540+
"Está función fue eliminada por primera vez en Python 3.0 y traída de vuelta "
541+
"en Python 3.2."
507542

508543
#: ../Doc/library/functions.rst:196
509544
msgid ""
@@ -1050,7 +1085,7 @@ msgstr ""
10501085
"Devuelve un número de punto flotante construido a partir de un número o una "
10511086
"cadena *x*."
10521087

1053-
# no estoy segura de si debo traducir not-a-number
1088+
# no estoy segura de si debo traducir not-a-number
10541089
#: ../Doc/library/functions.rst:576
10551090
#, fuzzy
10561091
msgid ""
@@ -1097,7 +1132,7 @@ msgstr ""
10971132
"flotante, se devuelve un número de punto flotante del mismo valor (dentro de "
10981133
"la precisión de punto flotante de Python). Si el argumento está fuera del "
10991134
"rango de un punto flotante de Python, se generará una excepción :exc:"
1100-
"`OverflowError` "
1135+
"`OverflowError`."
11011136

11021137
#: ../Doc/library/functions.rst:601
11031138
msgid ""

0 commit comments

Comments
 (0)