Skip to content

Commit 7a0023e

Browse files
smokephilgpshead
authored andcommitted
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
1 parent 92420b3 commit 7a0023e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ are always available. They are listed here in alphabetical order.
456456
n += 1
457457

458458

459-
.. function:: eval(expression, globals=None, locals=None)
459+
.. function:: eval(expression[, globals[, locals]])
460460

461461
The arguments are a string and optional globals and locals. If provided,
462462
*globals* must be a dictionary. If provided, *locals* can be any mapping

0 commit comments

Comments
 (0)