Skip to content

Commit

Permalink
gh-100546: Remove incorrect positional-only marker from eval (#100547)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hauntsaninja authored Jan 1, 2023
1 parent 1f6c87c commit 71159a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71159a8

Please sign in to comment.