def __init__(self, cache=None, **kw): """ @param cache a folder to use as a cache or an httplib2 cache """ ThreadPool.__init__(self, **kw) self._cache = cache
def __init__(self): ThreadPool.__init__(self, poolsize=5, output_queue=TaskQueue())