]> granicus.if.org Git - python/commitdiff
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
authorsmokephil <smokephil@gmail.com>
Wed, 11 Sep 2019 10:30:04 +0000 (12:30 +0200)
committerGregory P. Smith <greg@krypto.org>
Wed, 11 Sep 2019 10:30:04 +0000 (05:30 -0500)
Doc/library/functions.rst

index 2e385a2a37d5633de67391e678f8aff19cad23cb..ea2777f7536743c63e3a27efa56719bddd028969 100644 (file)
@@ -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