Opened 7 years ago
Last modified 7 years ago
#28695 closed Cleanup/optimization
Make ModelBase.__new__ pass **kwargs to type.__new__ — at Version 1
Description (last modified by ) ¶
ModelBase must pass kwargs to type.__new__
in order to enable __init_subclass__
in python 3.6 (see https://www.python.org/dev/peps/pep-0487/).
Note:
See TracTickets
for help on using tickets.