From b6b4c0256c28fd125b9e6f7d90134cdde99384d0 Mon Sep 17 00:00:00 2001 From: smokephil Date: Wed, 11 Sep 2019 12:30:04 +0200 Subject: [PATCH] bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) (cherry picked from commit 7a0023e8d17566eb32c836b65c33663303a2224f) Co-authored-by: smokephil --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 11147525d7e829..313dbffdcde93a 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -426,7 +426,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 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