gh-104984: remove kwargs and starargs from Call & ClassDef#104986
gh-104984: remove kwargs and starargs from Call & ClassDef#104986carljm merged 1 commit intopython:mainfrom
Conversation
These fields are removed in python@025e9eb
|
|
||
|
|
||
| .. class:: ClassDef(name, bases, keywords, starargs, kwargs, body, decorator_list) | ||
| .. class:: ClassDef(name, bases, keywords, body, decorator_list) |
There was a problem hiding this comment.
This is also now out of date with the implementation in main and 3.12 due to the addition of type_params argument in PEP 695, but that's being addressed in #104642
Still seems sensible to remove starargs and kwargs in this PR, and let @JelleZijlstra resolve the resulting conflict on this line in #104642
There was a problem hiding this comment.
Hmm, backporting this will mean that the PEP 695 docs PR won't backport cleanly, which may cause a bit more of a pain. @JelleZijlstra how do you prefer to handle this?
There was a problem hiding this comment.
Just merge this first, I'll take care of the backports
…honGH-104986) These fields are removed in python@025e9eb (cherry picked from commit 61c1d67) Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
|
GH-104987 is a backport of this pull request to the 3.12 branch. |
|
GH-104988 is a backport of this pull request to the 3.11 branch. |
…honGH-104986) These fields are removed in python@025e9eb (cherry picked from commit 61c1d67) Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
These fields were removed in 025e9eb
Resolves: #104984
📚 Documentation preview 📚: https://cpython-previews--104986.org.readthedocs.build/