Re:Attrs – the Python library everyone needs (2016)
by aix1 on Friday December 24, 2021 @05:36PM
(#29678440)
To clarify, both named tuples and dataclasses can be immutable (the former are always immutable and the latter can be made immutable with `frozen=True`).
There is no way, however, to make a named tuple mutable.
There is no way, however, to make a named tuple mutable.