Package oort :: Package util :: Module code :: Class autosuper
[hide private]
[frames] | no frames]

Type autosuper

source code

object --+    
         |    
      type --+
             |
            autosuper
Known Subclasses:
sitebase.resource_viewer_meta

Use this as a metaclass for types to set the magic attribute '__super' on them. When this is accessed through self the result is an object constructed as if super(ThisType, self) had been called. (Makes it a little bit more like in Python 3, where super() will work like this attribute.)

Instance Methods [hide private]
 
__init__(cls, name, bases, members)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from type: __call__, __cmp__, __delattr__, __getattribute__, __hash__, __new__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __reduce__, __reduce_ex__, __str__

Properties [hide private]

Inherited from type: __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__init__(cls, name, bases, members)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)