def popitem(self):
        """
        Remove and return last item (key, value) duple
        If odict is empty raise KeyError
        """
        try:
            key = self._keys[-1]
        except __HOLE__:
            raise KeyError('Empty odict.')
        value = dict.__getitem__(self, key)
        del self[key]
        return (key, value)
dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/odicting.py/odict.popitem