Skip to content

Traduce library/dis.po #1618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dictionaries/library_dis.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oparg
61 changes: 46 additions & 15 deletions library/dis.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
"PO-Revision-Date: 2021-08-07 15:41+0200\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"PO-Revision-Date: 2021-11-05 23:34+0800\n"
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0\n"

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

#: ../Doc/library/dis.rst:719
msgid ""
Expand Down Expand Up @@ -909,7 +913,6 @@ msgstr ""
"opcode:`CALL_FUNCTION` para construir una clase."

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

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

#: ../Doc/library/dis.rst:766
#, fuzzy
msgid "Push ``len(TOS)`` onto the stack."
msgstr "Apila ``co_consts[consti]`` en la pila."
msgstr "Apila ``len(TOS)`` en la pila."

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

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

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

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

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

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

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

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

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

#: ../Doc/library/dis.rst:1273
msgid ""
Expand Down