

def __setattr__(self, key, obj):
    if (key in self.__class__.__dict__):
        object.__setattr__(self, key, obj)
    else:
        return self.__dict__['_mapping'].__setitem__(key, obj)

dataset/ETHPy150Open kdart/pycopia/aid/pycopia/dictlib.py AttrDictWrapper.__setattr__/original