41 ms·
If I recall correctly, NamedTuple doesn’t support calculated properties, but a Data class does (as the first example shows).
by JoBrad 5y ago
If I recall correctly, NamedTuple doesn’t support calculated properties, but a Data class does (as the first example shows).