diff options
author | Erlend E. Aasland <erlend@python.org> | 2023-08-07 11:28:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 11:28:08 (GMT) |
commit | 33cb0b06efe33968eb32463fa1b02b5a729a17f8 (patch) | |
tree | 03943530bbfb086afa1ba2965b544fa53335f1a3 /Misc | |
parent | 3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8 (diff) | |
download | cpython-33cb0b06efe33968eb32463fa1b02b5a729a17f8.zip cpython-33cb0b06efe33968eb32463fa1b02b5a729a17f8.tar.gz cpython-33cb0b06efe33968eb32463fa1b02b5a729a17f8.tar.bz2 |
gh-95065: Add Argument Clinic support for deprecating positional use of parameters (#95151)
It is now possible to deprecate passing parameters positionally with
Argument Clinic, using the new '* [from X.Y]' syntax.
(To be read as "keyword-only from Python version X.Y")
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tools-Demos/2022-07-23-00-33-28.gh-issue-95065.NfCCpp.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2022-07-23-00-33-28.gh-issue-95065.NfCCpp.rst b/Misc/NEWS.d/next/Tools-Demos/2022-07-23-00-33-28.gh-issue-95065.NfCCpp.rst new file mode 100644 index 0000000..3641716 --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2022-07-23-00-33-28.gh-issue-95065.NfCCpp.rst @@ -0,0 +1,6 @@ +It is now possible to deprecate passing parameters positionally with +Argument Clinic, using the new ``* [from X.Y]`` syntax. +(To be read as *"keyword-only from Python version X.Y"*.) +See :ref:`clinic-howto-deprecate-positional` for more information. +Patch by Erlend E. Aasland with help from Alex Waygood, +Nikita Sobolev, and Serhiy Storchaka. |