def with_metaclass(meta, *bases):
    return meta("_NewBase", bases or (object,), {})


# Metaclass for singletons
Create a base class with a metaclass.
dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py/with_metaclass