mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
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
690a16d455
commit
4e914ab29f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue