

def __getattr__(self, attr):
    if (self in self.__dict__):
        return self.__dict__[attr]
    else:
        return getattr(self._switch, attr)

dataset/ETHPy150Open disqus/gargoyle/gargoyle/proxy.py SwitchProxy.__getattr__/VarMisuse@14/16 `attr`->`self`