8000 bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) · python/cpython@4e914ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e914ab

Browse files
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
(cherry picked from commit 7a0023e) Co-authored-by: smokephil <smokephil@gmail.com>
1 parent 690a16d commit 4e914ab

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
@@ -454,7 +454,7 @@ are always available. They are listed here in alphabetical order.
454454
n += 1
455455

456456

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

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

0 commit comments

Comments
 (0)
0