[docs] [issue33077] typing: Unexpected result with value of instance of class inherited from typing.NamedTuple

Ivan Levkivskyi report at bugs.python.org
Tue Mar 20 18:04:41 EDT 2018


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

> Would it be worthwhile to show an example of a subclass that overrides or extends  __new__?

I think yes. I would actually add few examples what could (and maybe also couldn't) be done with named tuples.

----------

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


More information about the docs mailing list