Skip to content

Commit 7ed7127

Browse files
gh-100546: Remove incorrect positional-only marker from eval (GH-100547)
All the arguments are positional-only. The current status after GH-99476 seems to be to not use positional-only markers in documentation, hence I've simply removed it. (cherry picked from commit 71159a8) Co-authored-by: Shantanu <[email protected]>
1 parent 83f8553 commit 7ed7127

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
@@ -512,7 +512,7 @@ are always available. They are listed here in alphabetical order.
512512

513513
.. _func-eval:
514514

515-
.. function:: eval(expression, /, globals=None, locals=None)
515+
.. function:: eval(expression, globals=None, locals=None)
516516

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

0 commit comments

Comments
 (0)