[issue42840] `type` takes **kwargs for __init_subclass__
Guido van Rossum
report at bugs.python.org
Wed Jan 6 12:36:24 EST 2021
Guido van Rossum <guido at python.org> added the comment:
That sounds intentional to me (else the class statement would have a capability that cannot be dynamically emulated by calling type()).
We should probably update the docs (if you could submit a small PR that would be appreciated) and also typeshed (ditto).
----------
nosy: +gvanrossum
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42840>
_______________________________________
More information about the Python-bugs-list
mailing list