summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorsmokephil <smokephil@gmail.com>2019-09-11 10:30:04 (GMT)
committerGregory P. Smith <greg@krypto.org>2019-09-11 10:30:04 (GMT)
commit7a0023e8d17566eb32c836b65c33663303a2224f (patch)
tree9f7a40a3bca4072840f19cf648dcf5faad07db1d /Doc/library
parent92420b3e679959a7d0ce875875601a4cee45231e (diff)
downloadcpython-7a0023e8d17566eb32c836b65c33663303a2224f.zip
cpython-7a0023e8d17566eb32c836b65c33663303a2224f.tar.gz
cpython-7a0023e8d17566eb32c836b65c33663303a2224f.tar.bz2
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
Diffstat (limited to 'Doc/library')
-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 2e385a2..ea2777f 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