Singleton

class mtf.utils.Singleton.Singleton

Singleton that keep single instance for single set of arguments. E.g.: assert Singleton(‘spam’) is not Singleton(‘eggs’) assert Singleton(‘spam’) is Singleton(‘spam’)

__init__(name, bases, dct)
__new__(**kwargs)
mro()

Return a type’s method resolution order.