[issue41644] builtin type kwargs
New submission from Joseph Perez
Serhiy Storchaka
Joseph Perez
class type(object) class type(name, bases, dict)
The second line should be "class type(name, bases, dict, **kwargs)".
(I've mentioned Pycharm and Mypy, but i think it's a kind of side-effect of the incomplete official documentation on which is based their typeshed)
In fact, I've raised this issue because I've found myself needing to instantiate a class using `type` and kwargs, and I've not found in the documentation an example of it.
----------
_______________________________________
Python tracker
Change by Ethan Furman
participants (3)
-
Ethan Furman
-
Joseph Perez
-
Serhiy Storchaka