[issue46170] Improving the error message when subclassing NewType

Nikita Sobolev report at bugs.python.org
Sun Dec 26 12:36:24 EST 2021


Nikita Sobolev <mail at sobolevn.me> added the comment:

Turns out modern docs already have this problem fixed: https://docs.python.org/3/library/typing.html#newtype

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46170>
_______________________________________


More information about the Python-bugs-list mailing list