Python __class__()

In Python’s documentation __class__ is described as an attribute. In the object type (the metaclass), __class__ appears to be a method. If we do: >>> class Foo: pass >>> a …