Reported by Dedoig: > Mypy disallows usage of _replace() method from namedtuple (and likewise for NamedTuple). > > from collections import namedtuple > Person = namedtuple("Person", 'name') > p = Person("bob") > p._replace(name="sam") > > ==> "Person" has no attribute "_replace" Also, these are missing: - `_asdict()` - `_fields`
Activity
ddfisher commentedon Aug 18, 2016
Should be fixed by #1810.
elazarg commentedon Sep 3, 2016
Fixed