class documentation

class Singleton(type): (source)

View In Hierarchy

A metaclass that creates a singleton class.

Method __call__ Return the singleton instance for the class.
Class Variable _instances Undocumented
def __call__(cls, *args: Any, **kwargs: Any) -> Any: (source)

Return the singleton instance for the class.

_instances = (source)

Undocumented