Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 259 Bytes

2019-10-13-13-58-45.bpo-28869.vuckM1.rst

File metadata and controls

4 lines (4 loc) · 259 Bytes

:meth:`type.__new__` now skips one additional frame when determine the default value for __module__ if it was not called directly from :meth:`type.__call__`. This fixes __module__ of classes created by calling a metaclass (like :class:`abc.ABCMeta`).