- Notifications
You must be signed in to change notification settings - Fork396
included eval#218
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
included eval#218
Changes fromall commits
Commits
Show all changes
7 commits Select commitHold shift + click to select a range
65f53e6
included eval
clacric1f7e35
Merge branch '3.8' of https://github.com/PyCampES/python-docs-es into…
clacrie0fb52d
Update library/functions.po
clacri90f2038
Update library/functions.po
clacri0b488f1
Update library/functions.po
clacri175c29c
Update library/functions.po
clacri84a936b
Update library/functions.po
clacriFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletionsTRANSLATORS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletionsdict
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
41 changes: 39 additions & 2 deletionslibrary/functions.po
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -11,7 +11,7 @@ msgstr "" | ||
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-05-07 14:37+0200\n" | ||
"PO-Revision-Date: 2020-05-10 15:07+0200\n" | ||
"Last-Translator: \n" | ||
"Language: es\n" | ||
"Language-Team: python-doc-esMIME-Version: 1.0\n" | ||
@@ -852,19 +852,29 @@ msgid "" | ||
"returns a tuple containing a count (from *start* which defaults to 0) and " | ||
"the values obtained from iterating over *iterable*." | ||
msgstr "" | ||
"Devuelve un objeto enumerador. *iterable* tiene que ser una secuencia, un :" | ||
"term:`iterator`, o algún otro objeto que soporte la iteración. El método :" | ||
"meth:`~iterator.__next__` del iterador devuelto por la función :func:" | ||
"`enumerate` devuelve una tupla que contiene un contador (desde *start*, cuyo " | ||
"valor por defecto es 0) y los valores obtenidos al iterar sobre *iterable*." | ||
#: ../Doc/library/functions.rst:448 | ||
msgid "Equivalent to::" | ||
msgstr "Equivalente a::" | ||
#: ../Doc/library/functions.rst:459 | ||
msgid "" | ||
"The arguments are a string and optional globals and locals. If provided, " | ||
"*globals* must be a dictionary. If provided, *locals* can be any mapping " | ||
"object." | ||
msgstr "" | ||
"Los argumentos son una cadena y opcionalmente, globales y locales. Si se " | ||
"introduce, *globals* tiene que ser un diccionario, y *locals* puede ser " | ||
"cualquier objeto de mapeo." | ||
# Creo que la duda es "nested scopes" | ||
#: ../Doc/library/functions.rst:463 | ||
#, fuzzy | ||
clacri marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
msgid "" | ||
"The *expression* argument is parsed and evaluated as a Python expression " | ||
"(technically speaking, a condition list) using the *globals* and *locals* " | ||
@@ -880,12 +890,28 @@ msgid "" | ||
"access to the :term:`nested scopes <nested scope>` (non-locals) in the " | ||
"enclosing environment." | ||
msgstr "" | ||
"El argumento *expression* se parsea y evalúa como una expresión de Python " | ||
"(técnicamente, una lista de condiciones), usando los diccionarios *globals* " | ||
"y *locals* como espacios de nombres globales y locales. Si el diccionario " | ||
"*globals* está presente y no contiene un valor para la clave " | ||
"``__builtins__``, se inserta bajo esa clave una referencia al diccionario " | ||
"del módulo incorporado :mod:`builtins` antes de que la *expression* sea " | ||
"parseada. Esto significa que en condiciones normales *expression* tiene " | ||
"acceso total al módulo estándar :mod:`builtins` y los entornos restringidos " | ||
"son propagados. Si el diccionario *locals* es omitido entonces su valor por " | ||
"defecto es el diccionario *globals*. Si ambos diccionarios son omitidos, la " | ||
"expresión es ejecutada con las *globals* y *locals* del entorno en el que :" | ||
"func:`eval` es llamada. Tenga en cuenta que *eval()* no tiene acceso al :" | ||
"term:`alcances anidados <nested scope>` (no-locales) en el entorno que lo " | ||
"contiene." | ||
#: ../Doc/library/functions.rst:477 | ||
msgid "" | ||
"The return value is the result of the evaluated expression. Syntax errors " | ||
"are reported as exceptions. Example:" | ||
msgstr "" | ||
"El valor que devuelve es el resultado de la expresión evaluada. Los errores " | ||
"de sintaxis son reportados como excepciones. Por ejemplo:" | ||
#: ../Doc/library/functions.rst:484 | ||
msgid "" | ||
@@ -894,6 +920,11 @@ msgid "" | ||
"of a string. If the code object has been compiled with ``'exec'`` as the " | ||
"*mode* argument, :func:`eval`\\'s return value will be ``None``." | ||
msgstr "" | ||
"La función también puede ser utilizada para ejecutar objetos de código " | ||
"arbitrario (como los que crea la función :func:`compile`). En este caso, se " | ||
"pasa un objeto de código en vez de una cadena. Si el objeto de código ha " | ||
"sido compilado usando ``'exec'`` como el argumento *mode*, el valor que " | ||
"devolverá :func:`eval`\\ será ``None``." | ||
#: ../Doc/library/functions.rst:489 | ||
msgid "" | ||
@@ -902,12 +933,18 @@ msgid "" | ||
"current global and local dictionary, respectively, which may be useful to " | ||
"pass around for use by :func:`eval` or :func:`exec`." | ||
msgstr "" | ||
"Pista: la ejecución dinámica de declaraciones está soportada por la función :" | ||
"func:`exec`. Las funciones :func:`globals` y :func:`locals` devuelven los " | ||
"diccionarios global y local en ese momento, lo cual puede ser útil para su " | ||
"uso en :func:`eval` o :func:`exec`." | ||
#: ../Doc/library/functions.rst:494 | ||
msgid "" | ||
"See :func:`ast.literal_eval` for a function that can safely evaluate strings " | ||
"with expressions containing only literals." | ||
msgstr "" | ||
"Véase :func:`ast.literal_eval`, una función que puede evaluar de forma " | ||
"segura cadenas con expresiones que contienen solo literales." | ||
msgid "" | ||
"Raises an :ref:`auditing event <auditing>` ``exec`` with argument " | ||
2 changes: 1 addition & 1 deletionscripts/find_in_po.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.