diff options
author | smokephil <smokephil@gmail.com> | 2019-09-11 12:30:04 +0200 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2019-09-11 05:30:04 -0500 |
commit | 7a0023e8d17566eb32c836b65c33663303a2224f (patch) | |
tree | 9f7a40a3bca4072840f19cf648dcf5faad07db1d | |
parent | 92420b3e679959a7d0ce875875601a4cee45231e (diff) | |
download | cpython-git-7a0023e8d17566eb32c836b65c33663303a2224f.tar.gz |
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 2e385a2a37..ea2777f753 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -456,7 +456,7 @@ are always available. They are listed here in alphabetical order. n += 1 -.. function:: eval(expression, globals=None, locals=None) +.. function:: eval(expression[, globals[, locals]]) The arguments are a string and optional globals and locals. If provided, *globals* must be a dictionary. If provided, *locals* can be any mapping |