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

Skip to content

Commit d378fdb

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 3cd147b commit d378fdb

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

428428

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

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

0 commit comments

Comments
 (0)
0