Skip to content

Commit eae1536

Browse files
authored
Traduce library/dis.po (#1618)
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent 451fe72 commit eae1536

File tree

2 files changed

+47
-15
lines changed

2 files changed

+47
-15
lines changed

dictionaries/library_dis.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
oparg

library/dis.po

+46-15
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
14-
"PO-Revision-Date: 2021-08-07 15:41+0200\n"
15-
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
14+
"PO-Revision-Date: 2021-11-05 23:34+0800\n"
15+
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.9.1\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/library/dis.rst:2
2526
msgid ":mod:`dis` --- Disassembler for Python bytecode"
@@ -879,6 +880,9 @@ msgid ""
879880
"restores ``f_lasti`` of the current frame to its value when the exception "
880881
"was raised."
881882
msgstr ""
883+
"Re-lanza la excepción que se encuentra actualmente al tope de la pila. Si "
884+
"oparg no es cero, restaura ``f_lasti`` del marco actual a su valor cuando se "
885+
"lanza la excepción."
882886

883887
#: ../Doc/library/dis.rst:719
884888
msgid ""
@@ -909,7 +913,6 @@ msgstr ""
909913
"opcode:`CALL_FUNCTION` para construir una clase."
910914

911915
#: ../Doc/library/dis.rst:743
912-
#, fuzzy
913916
msgid ""
914917
"This opcode performs several operations before a with block starts. First, "
915918
"it loads :meth:`~object.__exit__` from the context manager and pushes it "
@@ -923,24 +926,25 @@ msgstr ""
923926
"Este opcode realiza varias operaciones antes de que comience un bloque "
924927
"*with*. Primero, carga :meth:`~object.__exit__` desde el administrador de "
925928
"contexto y lo apila a la pila para su uso posterior por :opcode:"
926-
"`WITH_CLEANUP_START`. Entonces, :meth:`~object.__enter__` se llama, y "
927-
"finalmente se bloquea un bloque que apunta a *delta*. Finalmente, el "
928-
"resultado de llamar al método ``__enter__()`` se apila en la pila. El "
929-
"siguiente opcode lo ignorará (:opcode:`POP_TOP`), o lo almacenará en (una) "
930-
"variable (s) (:opcode:`STORE_FAST`, :opcode:`STORE_NAME`, o :opcode:"
931-
"`UNPACK_SEQUENCE`) ."
929+
"`WITH_EXCEPT_START`. Luego, :meth:`~object.__enter__` se llama, y un bloque "
930+
"finally que apunta a *delta* se apila. Finalmente, el resultado de llamar al "
931+
"método ``__enter__()`` se apila en la pila. El siguiente opcode lo ignorará "
932+
"(:opcode:`POP_TOP`), o lo almacenará en (una) variable (s) (:opcode:"
933+
"`STORE_FAST`, :opcode:`STORE_NAME`, o :opcode:`UNPACK_SEQUENCE`) ."
932934

933935
#: ../Doc/library/dis.rst:757
934936
msgid ""
935937
"TOS is a tuple of mapping keys, and TOS1 is the match subject. Replace TOS "
936938
"with a :class:`dict` formed from the items of TOS1, but without any of the "
937939
"keys in TOS."
938940
msgstr ""
941+
"TOS es una tuple de llaves de mapeo, y TOS1 es el sujeto de la coincidencia. "
942+
"Reemplaza TOS con un :class:`dict` formado por los ítems de TOS1, pero sin "
943+
"ninguna de las llaves en TOS."
939944

940945
#: ../Doc/library/dis.rst:766
941-
#, fuzzy
942946
msgid "Push ``len(TOS)`` onto the stack."
943-
msgstr "Apila ``co_consts[consti]`` en la pila."
947+
msgstr "Apila ``len(TOS)`` en la pila."
944948

945949
#: ../Doc/library/dis.rst:773
946950
msgid ""
@@ -949,6 +953,10 @@ msgid ""
949953
"member:`~PyTypeObject.tp_flags`), push ``True`` onto the stack. Otherwise, "
950954
"push ``False``."
951955
msgstr ""
956+
"Si TOS es una instancia de :class:`collections.abc.Mapping` (o, más "
957+
"técnicamente, si tiene el indicador :const:`Py_TPFLAGS_MAPPING` establecido "
958+
"en su :c:member:`~PyTypeObject.tp_flags`), apila ``True`` en la pila. De lo "
959+
"contrario apila ``False``."
952960

953961
#: ../Doc/library/dis.rst:783
954962
msgid ""
@@ -958,6 +966,11 @@ msgid ""
958966
"member:`~PyTypeObject.tp_flags`), push ``True`` onto the stack. Otherwise, "
959967
"push ``False``."
960968
msgstr ""
969+
"Si TOS es una instancia de :class:`collections.abc.Sequence` y *no* es una "
970+
"instancia de :class:`str`/:class:`bytes`/:class:`bytearray` (o, más "
971+
"técnicamente, si tiene el indicador :const:`Py_TPFLAGS_SEQUENCE` "
972+
"establecido en su :c:member:`~PyTypeObject.tp_flags`), apila ``True`` en la "
973+
"pila. De lo contrario apila ``False``."
961974

962975
#: ../Doc/library/dis.rst:793
963976
msgid ""
@@ -966,6 +979,10 @@ msgid ""
966979
"corresponding values, followed by ``True``. Otherwise, push ``None``, "
967980
"followed by ``False``."
968981
msgstr ""
982+
"TOS es una tuple de llaves de mapeo, y TOS1 es el sujeto de la coincidencia. "
983+
"Si TOS1 contiene todas las llaves en TOS, apila un :class:`tuple` que "
984+
"contiene los valores correspondientes, seguido por ``True``. De lo contrario "
985+
"apila ``None``, seguido de ``False``."
969986

970987
#: ../Doc/library/dis.rst:801
971988
msgid "All of the following opcodes use their arguments."
@@ -1458,6 +1475,8 @@ msgstr ""
14581475
#: ../Doc/library/dis.rst:1194
14591476
msgid "``0x04`` a tuple of strings containing parameters' annotations"
14601477
msgstr ""
1478+
"``0x04`` una tupla de cadenas de caracteres que contiene anotaciones de "
1479+
"parámetros"
14611480

14621481
#: ../Doc/library/dis.rst:1195
14631482
msgid "``0x08`` a tuple containing cells for free variables, making a closure"
@@ -1476,6 +1495,8 @@ msgstr "el :term:`nombre calificado` de la función (en TOS)"
14761495
#: ../Doc/library/dis.rst:1199
14771496
msgid "Flag value ``0x04`` is a tuple of strings instead of dictionary"
14781497
msgstr ""
1498+
"El valor indicador ``0x04`` es una tupla de cadena de caracteres en vez de "
1499+
"un diccionario"
14791500

14801501
#: ../Doc/library/dis.rst:1206
14811502
msgid ""
@@ -1559,13 +1580,20 @@ msgid ""
15591580
"against, and TOS2 is the match subject. *count* is the number of positional "
15601581
"sub-patterns."
15611582
msgstr ""
1583+
"TOS es una tupla de nombres de atributos clave, TOS1 es la clase contra la "
1584+
"cual se hace la coincidencia, y TOS2 es el sujeto de la coincidencia. "
1585+
"*count* es el número de sub-patrones posicionales."
15621586

15631587
#: ../Doc/library/dis.rst:1247
15641588
msgid ""
15651589
"Pop TOS. If TOS2 is an instance of TOS1 and has the positional and keyword "
15661590
"attributes required by *count* and TOS, set TOS to ``True`` and TOS1 to a "
15671591
"tuple of extracted attributes. Otherwise, set TOS to ``False``."
15681592
msgstr ""
1593+
"Desapila TOS. Si TOS2 es una instancia de TOS1 y tiene los atributos clave y "
1594+
"posicionales requeridos por *count* y TOS, establece TOS como ``True`` y "
1595+
"TOS1 es una tupla de atributos extraídos. De lo contrario, establece TOS "
1596+
"como ``False``."
15691597

15701598
#: ../Doc/library/dis.rst:1255
15711599
msgid ""
@@ -1574,15 +1602,18 @@ msgid ""
15741602
"message. The legal kinds are 0 for generator, 1 for coroutine, and 2 for "
15751603
"async generator."
15761604
msgstr ""
1605+
"Desapila TOS. Si TOS no era ``None``, lanza una excepción. El operando "
1606+
"``kind`` corresponde al tipo de generador o corrutina y determina el mensaje "
1607+
"de error. Los tipos legales son 0 para generador, 1 para corrutina, y 2 para "
1608+
"generador asíncrono."
15771609

15781610
#: ../Doc/library/dis.rst:1265
1579-
#, fuzzy
15801611
msgid ""
15811612
"Lift the top *count* stack items one position up, and move TOS down to "
15821613
"position *count*."
15831614
msgstr ""
1584-
"Eleva los elementos de la segunda, tercera y cuarta pila una posición hacia "
1585-
"arriba, se mueve de arriba hacia abajo a la posición cuatro."
1615+
"Eleva los *count* elementos más altos de la pila una posición hacia arriba, "
1616+
"y baja TOS hacia la posición *count*."
15861617

15871618
#: ../Doc/library/dis.rst:1273
15881619
msgid ""

0 commit comments

Comments
 (0)