summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2023-01-01 00:59:31 (GMT)
committerGitHub <noreply@github.com>2023-01-01 00:59:31 (GMT)
commit71159a8e078bda0c9a39c6cd0980b7ba238dc582 (patch)
treed31ae43bc7154623d2b90fc026c4cbc03ffa41a5 /Doc/library/functions.rst
parent1f6c87ca7b9351b2e5c5363504796fce0554c9b8 (diff)
downloadcpython-71159a8e078bda0c9a39c6cd0980b7ba238dc582.zip
cpython-71159a8e078bda0c9a39c6cd0980b7ba238dc582.tar.gz
cpython-71159a8e078bda0c9a39c6cd0980b7ba238dc582.tar.bz2
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.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index f00a072..77ebdd0 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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