Alan Gauld via Tutor wrote:
> classes are objects too...
Also, classes are instances. Given
>>> class Foo:
>>> foo = Foo()
what is the type of the type of the type ... of foo?
The answer is a circular definition that you cannot spell in Python itself:
The type of type is... type. Put the other way round: like ordinary classes
type is an instance of type.
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options: