mirror of
https://github.com/python/cpython.git
synced 2025-10-02 21:25:24 +00:00
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 71159a8e07
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
83f85539a1
commit
7ed7127876
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue