

def __getattr__(self, attr):
    try:
        return attr[attr]
    except KeyError:
        raise AttributeError(attr)

dataset/ETHPy150Open jek/flatland/flatland/util/base.py adict.__getattr__/VarMisuse@17/20 `self`->`attr`