def __getitem__(self, key):
        if 'default' in self:
            try:
                return dict.__getitem__(self, key)
            except KeyError:
                return dict.__getitem__(self, 'default')
        else:
            return dict.__getitem__(self, key)
dataset/ETHPy150Open mne-tools/mne-python/mne/externals/tempita/__init__.py/bunch.__getitem__/original