mirror of https://github.com/python/cpython
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
This commit is contained in:
parent
92420b3e67
commit
7a0023e8d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue