def logInstanceCreation(instance, name=None):
    if name is None:
        name = instance.__class__.__name__
    if tracked_classes not in name:
        tracked_classes[name] = []
    tracked_classes[name].append(weakref.ref(instance))
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/inline_copy/lib/scons-2.3.2/SCons/Debug.py/logInstanceCreation/swapped operands of `not in`