Exemple #1
0
 def __new__(cls, *args, **kwargs):
     if not cls._instance:
         cls._instance = _TStatParent.__new__(cls, *args, **kwargs)
     return cls._instance
Exemple #2
0
 def __new__(cls, *args, **kwargs):
     if not cls._instance:
         cls._instance = _TStatParent.__new__(cls, *args, **kwargs)
     return cls._instance