def __getattr__(self, key):
        if key in iter(self.keys()):
            return self[key]
        else:
            raise NameError(key)
getattr aliased to getitem
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/util.py/Namespace.__getattr__