3 ms·
Python already has a feature called __slots__ which replaces the dictionary normally used to store object attributes with fixed, well, slots.
by makomk 14y ago
Python already has a feature called __slots__ which replaces the dictionary normally used to store object attributes with fixed, well, slots.