Definition at line 48 of file GenerateMenuMT.py.
◆ __call__()
def GenerateMenuMT.Singleton.__call__ |
( |
|
cls, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 50 of file GenerateMenuMT.py.
50 def __call__(cls, *args, **kwargs):
51 if cls
not in cls._instances:
52 cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
53 return cls._instances[cls]
◆ clear()
def GenerateMenuMT.Singleton.clear |
( |
|
cls | ) |
|
◆ _instances
GenerateMenuMT.Singleton._instances |
|
staticprivate |
The documentation for this class was generated from the following file: