Home | Trees | Indices | Help |
---|
|
object --+ | type --+ | Singleton
Singleton Metaclass. Enforces any object using this metaclass to only create a single instance. - External Usage documentation: U{https://github.com/tylerlaberge/PyPatterns/wiki/Creational-Pattern-Usage} - External Singleton Pattern documentation: U{https://en.wikipedia.org/wiki/Singleton_pattern}
|
|||
|
|||
Inherited from Inherited from |
|
|||
__instance = None
|
|
|||
Inherited from Inherited from |
|
Override the __call__ method to make sure only one instance is created.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Sep 10 17:28:55 2016 | http://epydoc.sourceforge.net |