

def flush(self):
    for entry in os.listdir(self.cache_dir):
        if entry.endswith('.lock'):
            continue
        entry._delete_file(os.path.join(self.cache_dir, entry))

dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py FileCache.flush/VarMisuse@37/43 `self`->`entry`