From 5f059958c838e6b8a21aadce610cab4914a3a780 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Mon, 26 Dec 2022 21:41:40 -0500 Subject: [PATCH] gh-100546: Remove incorrect positional-only marker from eval All the arguments are positional-only. The current status after #99476 seems to be to not use positional-only markers in documentation, hence I've simply removed it. That said, there are still three other positional-only markers in this file). I asked for clarification in https://github.com/python/cpython/issues/100546#issuecomment-1365565055. See also https://github.com/python/cpython/issues/98340 --- 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 2e988257d5d374..741d9f453d73a6 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -513,7 +513,7 @@ are always available. They are listed here in alphabetical order. .. _func-eval: -.. function:: eval(expression, /, globals=None, locals=None) +.. function:: eval(expression, globals=None, locals=None) The arguments are a string and optional globals and locals. If provided, *globals* must be a dictionary. If provided, *locals* can be any mapping