Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65f53e6

Browse filesBrowse files
committed
included eval
1 parent 20180d1 commit 65f53e6
Copy full SHA for 65f53e6

File tree

Expand file treeCollapse file tree

4 files changed

+47
-7
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+47
-7
lines changed

‎TRANSLATORS

Copy file name to clipboardExpand all lines: TRANSLATORS
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ Nicolás Demarchi (@gilgamezh)
55
Xavi Francisco (@srxavi)
66
Manuel Kaufmann (@humitos)
77
Cristián Maureira-Fredes (@cmaureir)
8+
Claudia Millán Nebot (@clacri @cheshireminima)
89
María Andrea Vignau (@mavignau @marian-vignau)
910
Marco Richetta (@marcorichetta)

‎dict

Copy file name to clipboardExpand all lines: dict
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ Circus
1111
Comos
1212
Cookbook
1313
Fibonacci
14+
Fibonacci
1415
Flags
1516
Flying
17+
Flying
1618
Fortran
1719
Fourier
1820
Hugunin
@@ -90,15 +92,14 @@ docstrings
9092
ecualizadora
9193
else
9294
enrutamiento
95+
enumerador
9396
especificador
9497
estáticamente
9598
except
9699
f
97-
Fibonacci
98100
flag
99101
flags
100102
float
101-
Flying
102103
format
103104
fraccional
104105
freeze
@@ -156,14 +157,16 @@ nonlocal
156157
object
157158
option
158159
or
160+
parsea
161+
parseada
159162
permitiéndole
160163
permutaciones
161164
personalizadamente
162165
pip
163166
podés
164167
polimórfica
165-
portable
166168
portabilidad
169+
portable
167170
posicional
168171
posicionales
169172
post
@@ -211,9 +214,9 @@ serializar
211214
shell
212215
sincronización
213216
singleton
217+
singleton
214218
sintácticamente
215219
situ
216-
singleton
217220
sobreescriban
218221
sobreescribe
219222
socket

‎library/functions.po

Copy file name to clipboardExpand all lines: library/functions.po
+38-2Lines changed: 38 additions & 2 deletions
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-09 17:08+0200\n"
14+
"PO-Revision-Date: 2020-05-10 15:07+0200\n"
1515
"Last-Translator: \n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-esMIME-Version: 1.0\n"
@@ -852,19 +852,28 @@ msgid ""
852852
"returns a tuple containing a count (from *start* which defaults to 0) and "
853853
"the values obtained from iterating over *iterable*."
854854
msgstr ""
855+
"Devuelve un objeto enumerador. *iterable* tiene que ser una secuencia, un :"
856+
"term:`iterator`, o algún otro objeto que soporte la iteración. El método :"
857+
"meth:`~iterator.__next__` del iterador devuelto por la función :func:"
858+
"`enumerate` devuelve una tupla que contiene un contador (desde *start*, cuyo "
859+
"valor por defecto es 0) y los valores obtenidos al iterar sobre *iterable*."
855860

856861
#: ../Doc/library/functions.rst:448
857862
msgid "Equivalent to::"
858-
msgstr ""
863+
msgstr "Equivalente a::"
859864

860865
#: ../Doc/library/functions.rst:459
861866
msgid ""
862867
"The arguments are a string and optional globals and locals. If provided, "
863868
"*globals* must be a dictionary. If provided, *locals* can be any mapping "
864869
"object."
865870
msgstr ""
871+
"Los argumentos son una cadena y opcionalmente, globales y locales. Si se "
872+
"introduce, *globals* tiene que ser un diccionario, y *locals* puede ser "
873+
"cualquier objeto de mapeo."
866874

867875
#: ../Doc/library/functions.rst:463
876+
#, fuzzy
868877
msgid ""
869878
"The *expression* argument is parsed and evaluated as a Python expression "
870879
"(technically speaking, a condition list) using the *globals* and *locals* "
@@ -880,12 +889,28 @@ msgid ""
880889
"access to the :term:`nested scopes <nested scope>` (non-locals) in the "
881890
"enclosing environment."
882891
msgstr ""
892+
"El argumento *expression* se parsea y evalúa como una expresión de Python "
893+
"(técnicamente, una lista de condiciones), usando los diccionarios *globals* "
894+
"y *locals* como espacios de nombres globales y locales. Si el diccionario "
895+
"*globals* está presente y no contiene un valor para la llave "
896+
"``__builtins__``, se inserta bajo esa llave una referencia al diccionario "
897+
"del módulo incorporado :mod:`builtins` antes de que la *expression* sea "
898+
"parseada. Esto significa que en condiciones normales *expression* tiene "
899+
"acceso total al módulo estándar :mod:`builtins` y los entornos restringidos "
900+
"son propagados. Si el diccionario *locals* es omitido entonces su valor por "
901+
"defecto es el diccionario *globals*. Si ambos diccionarios son omitidos, la "
902+
"expresión es ejecutada con las *globals* y *locals* del entorno en el que :"
903+
"func:`eval` es llamada. Tenga en cuenta que *eval()* no tiene acceso al :"
904+
"term:`nested scopes <nested scope>` (no-locales) en el entorno que lo "
905+
"contiene."
883906

884907
#: ../Doc/library/functions.rst:477
885908
msgid ""
886909
"The return value is the result of the evaluated expression. Syntax errors "
887910
"are reported as exceptions. Example:"
888911
msgstr ""
912+
"El valor que devuelve es el resultado de la expresión evaluada. Los errores "
913+
"de sintaxis son reportados como excepciones. Por ejemplo:"
889914

890915
#: ../Doc/library/functions.rst:484
891916
msgid ""
@@ -894,6 +919,11 @@ msgid ""
894919
"of a string. If the code object has been compiled with ``'exec'`` as the "
895920
"*mode* argument, :func:`eval`\\'s return value will be ``None``."
896921
msgstr ""
922+
"La función también puede ser utilizada para ejecutar objetos de código "
923+
"arbitrario (como los que crea la función :func:`compile`). En este caso, se "
924+
"pasa un objeto de código en vez de una cadena. Si el objeto de código ha "
925+
"sido compilado usando ``’exec’`` como el argumento *mode*, el valor que "
926+
"devolverá :func:`eval`\\ será ``None``."
897927

898928
#: ../Doc/library/functions.rst:489
899929
msgid ""
@@ -902,12 +932,18 @@ msgid ""
902932
"current global and local dictionary, respectively, which may be useful to "
903933
"pass around for use by :func:`eval` or :func:`exec`."
904934
msgstr ""
935+
"Pista: la ejecución dinámica de declaraciones está soportada por la función :"
936+
"func:`exec`. Las funciones :func:`globals` y :func:`locals` devuelven los "
937+
"diccionarios global y local en ese momento, lo cual puede ser útil para su "
938+
"uso en :func:`eval` o :func:`exec`."
905939

906940
#: ../Doc/library/functions.rst:494
907941
msgid ""
908942
"See :func:`ast.literal_eval` for a function that can safely evaluate strings "
909943
"with expressions containing only literals."
910944
msgstr ""
945+
"Véase :func:`ast.literal_eval`, una función que puede evaluar de forma "
946+
"segura cadenas con expresiones que contienen solo literales."
911947

912948
msgid ""
913949
"Raises an :ref:`auditing event <auditing>` ``exec`` with argument "

‎scripts/find_in_po.py

Copy file name to clipboardExpand all lines: scripts/find_in_po.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def find_in_po(pattern):
2222
pofile = polib.pofile(file)
2323
for entry in pofile:
2424
if entry.msgstr and regex.search(pattern, entry.msgid):
25-
add_str = entry.msgstr + " ·filename: " + file + "·"
25+
add_str = entry.msgid + " ·filename: " + file + "·"
2626
table.append(
2727
[
2828
fill(add_str, width=available_width),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.