From: smokephil Date: Wed, 11 Sep 2019 10:30:04 +0000 (+0200) Subject: bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a0023e8d17566eb32c836b65c33663303a2224f;p=python bpo-25810: Clarify eval() docs, it does not keywords (GH-15173) --- 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