Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-25810: Clarify eval() docs, it does not keywords (GH-15173)
(cherry picked from commit 7a0023e)

Co-authored-by: smokephil <smokephil@gmail.com>
  • Loading branch information
smokephil authored and miss-islington committed Sep 11, 2019
commit 697f33f5060adca6aaad4d127c6ec519c9531d53
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down