

def __getitem__(self, key):
    item = dict.__getitem__(self, key)
    if callable(item):
        return item()
    return item

dataset/ETHPy150Open paver/paver/paver/options.py Bunch.__getitem__/original