bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
(cherry picked from commit 7a0023e8d1
)
Co-authored-by: smokephil <smokephil@gmail.com>
This commit is contained in:
parent
3cd147bf59
commit
d378fdb10a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue