

def cleanup(self):
    self.lock.acquire()
    try:
        for (k, v) in dict(self._entries).items():
            if self._is_expired(k, self.timeout):
                del self._entries[k]
    finally:
        self.lock.release()

dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py MemoryCache.cleanup/VarMisuse@47/53 `v`->`k`