Skip to content

Commit 627117b

Browse files
pushing
1 parent 0e37cc2 commit 627117b

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

Doc/library/functions.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -611,9 +611,10 @@ are always available. They are listed here in alphabetical order.
611611
untrusted user-supplied input will lead to security vulnerabilities.
612612

613613
The *source* argument is parsed and evaluated as a Python expression
614-
(technically speaking, an :ref:`expression list <exprlists>`) , using
615-
the *globals* and *locals* mappings as global and local namespace. If the *globals*
616-
dictionary is present and does not contain a value for the key ``__builtins__``, a
614+
(technically speaking, an :ref:`expression list <exprlists>`)
615+
using the *globals* and *locals* mappings as global and local namespace.
616+
If the *globals* dictionary is present and does not contain a value for the
617+
key ``__builtins__``, a
617618
reference to the dictionary of the built-in module :mod:`builtins` is
618619
inserted under that key before *source* is parsed.
619620
Overriding ``__builtins__`` can be used to restrict or change the available
@@ -634,7 +635,7 @@ are always available. They are listed here in alphabetical order.
634635
2
635636

636637
>>> eval("1, 2")
637-
(1,2)
638+
(1, 2)
638639

639640
This function can also be used to execute arbitrary code objects (such as
640641
those created by :func:`compile`). In this case, pass a code object instead
@@ -2383,6 +2384,4 @@ are always available. They are listed here in alphabetical order.
23832384

23842385
.. [#] Note that the parser only accepts the Unix-style end of line convention.
23852386
If you are reading the code from a file, make sure to use newline conversion
2386-
mode to convert Windows or Mac-style newlines.ECHO is on.
2387-
2388-
ECHO is on.
2387+
mode to convert Windows or Mac-style newlines.

0 commit comments

Comments
 (0)