pybbda.utils.
Singleton
Base class to instantiate an object as a Singleton
example usage,
>>> class A(Singleton): ... def __init__(self, x): ... self.x = x >>> a1 = A(x=1) >>> a2 = A(x=2) >>> a1 is a2 ... True
init