summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 10:53:16 (GMT)
committerGitHub <noreply@github.com>2019-09-11 10:53:16 (GMT)
commit4e914ab29f6d48a9fd045ea6a25dbf9e2fb603f9 (patch)
tree0eabf5caf51741dff69bf3b2381274c98e94c610 /Doc/library/functions.rst
parent690a16d455603500a0c6df0bd87e49c9b37a6950 (diff)
downloadcpython-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.rst2
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