From 7a0023e8d17566eb32c836b65c33663303a2224f 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) --- 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 2e385a2a37..ea2777f753 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -456,7 +456,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 -- 2.40.0