jgdv.structs.metalord.singleton

Classes

MLSingleton

Metaclass for enforcing singletons

Module Contents

class jgdv.structs.metalord.singleton.MLSingleton(name, bases, namespace, **kwargs)[source]

Bases: jgdv.structs.metalord.core.MetalordCore

Metaclass for enforcing singletons

with force_new=True, dont reuse the singleton

Parameters: