diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 11147525d7e..313dbffdcde 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