def __init__(self, debuglevel=0, context=None): # Old form for Python 2 compatibility. HTTPSHandler.__init__(self, debuglevel, context) self.lock = threading.Lock() self.pool = set() self.free = set()
def __init__(self, ca_file): # pylint: disable=super-on-old-class if sys.version_info[0] >= 3: super(HTTPSAuthHandler, self).__init__() else: # NOTE: WTF? HTTPSHandler's super-superclass BaseHandler is an old-style class! o_O HTTPSHandler.__init__(self) self.__ca_file = ca_file
def __init__(self, debuglevel=0, context=None): # Old form for Python 2 compatibility. HTTPSHandler.__init__(self, debuglevel, context) self.lock = threading.Lock() self.pool = set() self.free = set()
def __init__(self, key, cert): HTTPSHandler.__init__(self) self.key = key self.cert = cert
def __init__(self, key, cert): HTTPSHandler.__init__(self) self.key = key self.cert = cert
def __init__(self): HTTPSHandler.__init__(self)
def __init__(self, **kwargs): """Constructor. Any keyword args are passed to the httpclient handler.""" HTTPSHandler.__init__(self) self._connection_args = kwargs
def __init__(self, passwordmgr, context): HTTPSHandler.__init__(self, context=context) AbstractDigestAuthHandler.__init__(self, passwordmgr)