]> granicus.if.org Git - python/commitdiff
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Sep 2019 10:53:16 +0000 (03:53 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2019 10:53:16 +0000 (03:53 -0700)
(cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f)

Co-authored-by: smokephil <smokephil@gmail.com>
Doc/library/functions.rst

index 9ea7b7b55a97a3d53bcf56106ed196fe2a045c1b..2f3ef4f7fc76fb5b0007607b6c051de7dae27caf 100644 (file)
@@ -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