Skip to content

Commit 44db94c

Browse files
gh-<issue-number>: Remove obsolete 'condition list' from eval() docs
1 parent b090d06 commit 44db94c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Doc/library/functions.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,10 +610,9 @@ are always available. They are listed here in alphabetical order.
610610
This function executes arbitrary code. Calling it with
611611
untrusted user-supplied input will lead to security vulnerabilities.
612612

613-
The *source* argument is parsed and evaluated as a Python expression
614-
(technically speaking, a condition list) using the *globals* and *locals*
615-
mappings as global and local namespace. If the *globals* dictionary is
616-
present and does not contain a value for the key ``__builtins__``, a
613+
The *source* argument is parsed and evaluated as a Python expression
614+
using the *globals* and *locals* mappings as global and local namespace
615+
.If the *globals* dictionary is present and does not contain a value for the key ``__builtins__``, a
617616
reference to the dictionary of the built-in module :mod:`builtins` is
618617
inserted under that key before *source* is parsed.
619618
Overriding ``__builtins__`` can be used to restrict or change the available

0 commit comments

Comments
 (0)