def __init__(self, *args, **kwargs): BasePool.__init__(self, *args, **kwargs) self._hosts = {}
def __init__(self, *args, **params): BasePool.__init__(self, *args, **params) self._hosts = {} self._lock = RWLock()