[Python-checkins] bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
Miss Islington (bot)
webhook-mailer at python.org
Wed Sep 11 06:55:33 EDT 2019
https://github.com/python/cpython/commit/d378fdb10a5476b86b5a01d74c1bcc4e2f52e003
commit: d378fdb10a5476b86b5a01d74c1bcc4e2f52e003
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年09月11日T03:55:29-07:00
summary:
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
(cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f)
Co-authored-by: smokephil <smokephil at gmail.com>
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 11147525d7e8..313dbffdcde9 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -426,7 +426,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