Searched refs:Singleton (Results 1 - 2 of 2) sorted by relevance
/pkg/src/modules/client/ |
H A D | debugvalues.py | 29 class Singleton(type): class in inherits:type 30 """Set __metaclass__ to Singleton to create a singleton. 34 super(Singleton, self).__init__(name, bases, dictionary) 39 self.instance = super(Singleton, self).__call__(*args, 45 class DebugValues(six.with_metaclass(Singleton, dict)): 46 """Singleton dict that returns None if unknown value
|
/pkg/src/modules/ |
H A D | misc.py | 1375 class Singleton(type): class in inherits:type 1376 """Set __metaclass__ to Singleton to create a singleton. 1380 super(Singleton, cls).__init__(name, bases, dictionary) 1385 cls.instance = super(Singleton, cls).__call__(*args,
|
Completed in 27 milliseconds