

def get(self, key):
    ' Return -1 if catched KeyError exception.\n\n        '
    try:
        value = self.cache.pop(key)
        self.cache[key] = value
        return self
    except KeyError:
        return (- 1)

dataset/ETHPy150Open jasonlvhit/lunar/lunar/util.py LRUCache.get/VarMisuse@39/62 `value`->`self`