From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 Sep 2019 10:55:29 +0000 (-0700) Subject: bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) X-Git-Tag: v3.7.5rc1~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d378fdb10a5476b86b5a01d74c1bcc4e2f52e003;p=thirdparty%2FPython%2Fcpython.git bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) (cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f) Co-authored-by: smokephil --- 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