8000 gh-100546: Remove incorrect positional-only marker from eval (#100547) · python/cpython@71159a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 71159a8

Browse files
authored
gh-100546: Remove incorrect positional-only marker from eval (#100547)
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.
1 parent 1f6c87c commit 71159a8

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)
0