def __getitem__(self, key):
        try:
            ret = super(LRI, self).__getitem__(key)
        except __HOLE__:
            self.miss_count += 1
            if not self.on_miss:
                raise
            ret = self[key] = self.on_miss(key)
            return ret
        self.hit_count += 1
        return ret
dataset/ETHPy150Open mahmoud/boltons/boltons/cacheutils.py/LRI.__getitem__