[Python-checkins] gh-100546: Remove incorrect positional-only marker from eval (#100547)
hauntsaninja
webhook-mailer at python.org
Sat Dec 31 19:59:52 EST 2022
https://github.com/python/cpython/commit/71159a8e078bda0c9a39c6cd0980b7ba238dc582
commit: 71159a8e078bda0c9a39c6cd0980b7ba238dc582
branch: main
author: Shantanu <12621235+hauntsaninja at users.noreply.github.com>
committer: hauntsaninja <12621235+hauntsaninja at users.noreply.github.com>
date: 2022-12-31T17:59:31-07:00
summary:
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.
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index f00a072e6f41..77ebdd0367c3 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
More information about the Python-checkins
mailing list