Remove all files caching this function

def invalidate_all(self):
        """ Remove all files caching this function """
        for fname in os.listdir(self.cache_path):
            if fname.startswith(self.func.__name__ + "."):
                os.remove(os.path.join(self.cache_path, fname))