Bug report
Bug description:
class Parent[T]:
def __init_subclass__(cls, **kw):
pass
class Child[S, T](Parent[T]):
pass
Child[int, float]
Output:
TypeError: Too many arguments for <class '__main__.Child'>; actual 2, expected 1
CPython versions tested on:
3.12
Operating systems tested on:
macOS