diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-11 10:53:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 10:53:16 (GMT) |
commit | 4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9 (patch) | |
tree | 0eabf5caf51741dff69bf3b2381274c98e94c610 /Doc/library/functions.rst | |
parent | 690a16d455603500a0c6df0bd87e49c9b37a6950 (diff) | |
download | cpython-4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9.zip cpython-4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9.tar.gz cpython-4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9.tar.bz2 |
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
(cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f)
Co-authored-by: smokephil <smokephil@gmail.com>
Diffstat (limited to 'Doc/library/functions.rst')
-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 9ea7b7b..2f3ef4f 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -454,7 +454,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 |