Comment on Python classes aren’t always the best solutionparentComments−auscompgeek1ytyping.NamedTuple also sets `__slots__ = ()`, just like collections.namedtuple.
Comments
typing.NamedTuple also sets `__slots__ = ()`, just like collections.namedtuple.