[docs] [issue27644] Expand documentation about type aliases and NewType in the typing module
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>
More information about the docs