File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -591,16 +591,16 @@ are always available. They are listed here in alphabetical order.
591591 This function executes arbitrary code. Calling it with
592592 user-supplied input may lead to security vulnerabilities.
593593
594- The *expression * argument is parsed and evaluated as a Python expression
594+ The *source * argument is parsed and evaluated as a Python expression
595595 (technically speaking, a condition list) using the *globals * and *locals *
596596 mappings as global and local namespace. If the *globals * dictionary is
597597 present and does not contain a value for the key ``__builtins__ ``, a
598598 reference to the dictionary of the built-in module :mod: `builtins ` is
599- inserted under that key before *expression * is parsed. That way you can
599+ inserted under that key before *source * is parsed. That way you can
600600 control what builtins are available to the executed code by inserting your
601601 own ``__builtins__ `` dictionary into *globals * before passing it to
602602 :func: `eval `. If the *locals * mapping is omitted it defaults to the
603- *globals * dictionary. If both mappings are omitted, the expression is
603+ *globals * dictionary. If both mappings are omitted, the source is
604604 executed with the *globals * and *locals * in the environment where
605605 :func: `eval ` is called. Note, *eval() * will only have access to the
606606 :term: `nested scopes <nested scope> ` (non-locals) in the enclosing
You can’t perform that action at this time.
0 commit comments