'Override the default cache.    Set to None to prevent caching.
Args:
cache:
An instance that supports the same API as the twitter._FileCache'

def SetCache(self, cache):

    if (cache == DEFAULT_CACHE):
        self._cache = _FileCache()
    else:
        self._cache = cache
