Closed as not planned
Description
Bug report
Bug description:
Docstring of this method has following signature specification:
PyDoc_STR("__prepare__($cls, name, bases, /, **kwds)\n"
...
It's wrong, the first argument should be $type
(a class method). Because of this, the inspect.signature()
fails to parse the __text_signature__
attribute for the method.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response