bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) · python/cpython@d378fdb

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