[docs] [issue27644] Expand documentation about type aliases and NewType in the typing module

Ivan Levkivskyi report at bugs.python.org
Fri Jul 29 15:40:40 EDT 2016


Ivan Levkivskyi added the comment:

> Should I edit the patch to include a sentence or two describing this
> distinction, just remove the word "almost", or do something else?

I think the best way is to remove the "almost" and briefly explain that you cannot subclass types returned by NewType.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27644>
_______________________________________


More information about the docs mailing list