]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100546: Remove incorrect positional-only marker from eval (#100547)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Sun, 1 Jan 2023 00:59:31 +0000 (18:59 -0600)
committerGitHub <noreply@github.com>
Sun, 1 Jan 2023 00:59:31 +0000 (17:59 -0700)
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.

Doc/library/functions.rst

index f00a072e6f415f0f4fc6934ce9df71491287494b..77ebdd0367c305baf2605e99cda02ea6213b51ff 100644 (file)
@@ -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