![]() |
ATLAS Offline Software
|
Metaclass for implementing the Singleton pattern. More...
Public Member Functions | |
def | __call__ (cls, *args, **kwargs) |
Retrieve the singleton instance, creating if necessary. More... | |
Static Private Attributes | |
dictionary | _instances = {} |
Metaclass for implementing the Singleton pattern.
Definition at line 3 of file singleton.py.
def python.decorators.singleton.Singleton.__call__ | ( | cls, | |
* | args, | ||
** | kwargs | ||
) |
Retrieve the singleton instance, creating if necessary.
Definition at line 11 of file singleton.py.
|
staticprivate |
Definition at line 9 of file singleton.py.