3 ms·
> Except you also inherit the tuple behavior. It sounds like you might be happier with attrs if you want an easy to construct class that doesn't have tuple beh
by js2 9y ago
> Except you also inherit the tuple behavior.
It sounds like you might be happier with attrs if you want an easy to construct class that doesn't have tuple behavior:
http://www.attrs.org/ http://www.attrs.org/
http://www.attrs.org/en/stable/why.html#namedtuples http://www.attrs.org/en/stable/why.html#namedtuples