Skip to content

Commit 5f05995

Browse files
committed
pythongh-100546: Remove incorrect positional-only marker from eval
All the arguments are positional-only. The current status after python#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 python#100546 (comment). See also python#98340
1 parent ad3c99e commit 5f05995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ are always available. They are listed here in alphabetical order.
513513

514514
.. _func-eval:
515515

516-
.. function:: eval(expression, /, globals=None, locals=None)
516+
.. function:: eval(expression, globals=None, locals=None)
517517

518518
The arguments are a string and optional globals and locals. If provided,
519519
*globals* must be a dictionary. If provided, *locals* can be any mapping

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy