Package mrv :: Module util :: Class Singleton
[hide private]
[frames] | no frames]

Class Singleton

source code

object --+
         |
        Singleton

Singleton classes can be derived from this class, you can derive from other classes as long as Singleton comes first (and class doesn't override __new__)
Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *p, **k) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, *p, **k)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)