

def get(self, key, timeout=None):
    self.lock.acquire()
    try:
        entry = self._entries.get(key)
        if (not entry):
            return None
        if (timeout is None):
            timeout = key.timeout
        if self._is_expired(entry, timeout):
            del self._entries[key]
            return None
        return entry[1]
    finally:
        self.lock.release()

dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py MemoryCache.get/VarMisuse@62/67 `self`->`key`