Python Python __slots__ and class attribute defaults Let's see what happens when an attribute listed in __slots__ is given a default value.