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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy