Skip to content

Commit 697f33f

Browse files
smokephilmiss-islington
authored andcommitted
bpo-25810: Clarify eval() docs, it does not keywords (pythonGH-15173)
(cherry picked from commit 7a0023e) Co-authored-by: smokephil <smokephil@gmail.com>
1 parent 872c85a commit 697f33f

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)
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