diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-08-19 07:13:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 07:13:35 (GMT) |
commit | 2f311437cd51afaa68fd671bb99ff515cf7b029a (patch) | |
tree | 83d260dd293a6ef9144e3c680264a4a58312a600 /Tools/c-analyzer/cpython | |
parent | eb953d6e4484339067837020f77eecac61f8d4f8 (diff) | |
download | cpython-2f311437cd51afaa68fd671bb99ff515cf7b029a.zip cpython-2f311437cd51afaa68fd671bb99ff515cf7b029a.tar.gz cpython-2f311437cd51afaa68fd671bb99ff515cf7b029a.tar.bz2 |
gh-107704: Argument Clinic: add support for deprecating keyword use of parameters (GH-107984)
It is now possible to deprecate passing keyword arguments for
keyword-or-positional parameters with Argument Clinic, using the new
'/ [from X.Y]' syntax.
(To be read as "positional-only from Python version X.Y")
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Tools/c-analyzer/cpython')
-rw-r--r-- | Tools/c-analyzer/cpython/globals-to-fix.tsv | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/c-analyzer/cpython/globals-to-fix.tsv b/Tools/c-analyzer/cpython/globals-to-fix.tsv index 28bd2a4..58f9c8e 100644 --- a/Tools/c-analyzer/cpython/globals-to-fix.tsv +++ b/Tools/c-analyzer/cpython/globals-to-fix.tsv @@ -323,7 +323,11 @@ Modules/_testcapi/vectorcall.c - MethodDescriptorDerived_Type - Modules/_testcapi/vectorcall.c - MethodDescriptorNopGet_Type - Modules/_testcapi/vectorcall.c - MethodDescriptor2_Type - Modules/_testclinic.c - DeprStarInit - +Modules/_testclinic.c - DeprStarInitNoInline - Modules/_testclinic.c - DeprStarNew - +Modules/_testclinic.c - DeprKwdInit - +Modules/_testclinic.c - DeprKwdInitNoInline - +Modules/_testclinic.c - DeprKwdNew - ################################## |