[Python-checkins] bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
Gregory P. Smith
webhook-mailer at python.org
Wed Sep 11 06:30:09 EDT 2019
https://github.com/python/cpython/commit/7a0023e8d17566eb32c836b65c33663303a2224f
commit: 7a0023e8d17566eb32c836b65c33663303a2224f
branch: master
author: smokephil <smokephil at gmail.com>
committer: Gregory P. Smith <greg at krypto.org>
date: 2019-09-11T05:30:04-05:00
summary:
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 2e385a2a37d5..ea2777f75367 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
More information about the Python-checkins
mailing list