super, object and type?
circularfunc at gmail.com
Tue Aug 12 19:14:05 CEST 2008
>>> super(object, type)
<super: <class 'object'>, <type object>>
>>> super(type, object)
<super: <class 'type'>, <type object>>
how can both work?
they can't both be the superclass of each other right? or is it some
sort of mutually recursive definition?
Help on class object in module __builtin__:
| The most base type
Help on class type in module __builtin__:
| type(object) -> the object's type
| type(name, bases, dict) -> a new type
More information about the Python-list