Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the PR! I verified that these arguments (and attributes) indeed don't exist anymore. Impressive that nobody noticed this until now in the 8(!) years since they were removed.
Sorry, something went wrong.
|
|
||
|
|
||
| .. 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
Sorry, something went wrong.
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?
Sorry, something went wrong.
There was a problem hiding this comment.
Just merge this first, I'll take care of the backports
Sorry, something went wrong.
|
GH-104987 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
GH-104988 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
These fields were removed in 025e9eb
Resolves: #104984
📚 Documentation preview 📚: https://cpython-previews--104986.org.readthedocs.build/