Re:Redesigning Python's named tuples
by coldtea on Friday September 01, 2017 @11:43AM
(#15149428)
It's not about the storage (besides Python also has order dicts).
Namedtuples are for the convenience of creating a record type (though indeed as others say, treating it as tuple where things expect a tuple is also a benefit).
Namedtuples are for the convenience of creating a record type (though indeed as others say, treating it as tuple where things expect a tuple is also a benefit).