From https://stackoverflow.com/a/44880260
object()doesn't support instance attributes because it is the base for all custom Python classes, which must support not having a__dict__attribute when defining slots instead.
Does "it" in "it is the base for all custom Python classes" mean class object or its instance object()? I guess class object?
Since it is object instead of object() which is the base for all custom Python classes, is it also object instead of object() which must support the instances of some custom Python classes not having a __dict__ attribute when the classes defining __slots__ instead?
So how shall I understand that object() not having __dict__ is to support the instances of some custom Python classes not having a __dict__ attribute when the classes defining __slots__ instead?
Thanks.