def clear_cache():
        """Remove all cached objects"""
        del Cache._keys
        for k in list(Cache._cache.keys()):
            it = Cache._cache.pop(k)
            del it
        del Cache._cache
        Cache._keys = []
        Cache._cache = {}
        gc.collect()
def clear_cache ( ) : del Cache . _keys for k in list ( Cache . _cache . keys ( ) ) : it = Cache . _cache . pop ( k ) del it del Cache . _cache Cache . _keys = [ ] Cache . _cache = { } gc . collect ( )
Remove all cached objects