If we compare the lists generated by the built-in dir() for the superclass of the object and 'dummy', a bodyless class such as
class A(): pass
we find that class A has three attributes ('__dict__', '__module__' and '__weakref__') that are not in the object class.
Where does class A inherit these additional attributes from?
Marcos gonzalez
source share