spec2nexus.singletons¶
This is an internal library of the spec2nexus software. It is not expected that users of this package will need to call the singletons module directly.
source code documentation¶
singletons: Python 2 and 3 Compatible Version
| see: | http://stackoverflow.com/questions/6760685/creating-a-singleton-in-python |
|---|
USAGE:
class Logger(Singleton):
pass