Package mvpa :: Package misc :: Class __Singleton
[hide private]
[frames] | no frames]

Class __Singleton

source code


Nested Classes [hide private]
  __metaclass__
Simple singleton implementation adjusted from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/412551
Instance Methods [hide private]
 
__init__(self, *args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _instances = {'debug': <mvpa.misc.verbosity.DebugLogger object...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args)
(Constructor)

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

Class Variable Details [hide private]

_instances

Value:
{'debug': <mvpa.misc.verbosity.DebugLogger object at 0x84557ec>,
 'verbose': <mvpa.misc.verbosity.LevelLogger object at 0x845570c>}