MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/urllib/request.py:1360–1368  ·  view source on GitHub ↗
(self, debuglevel=None, context=None, check_hostname=None)

Source from the content-addressed store, hash-verified

1358 class HTTPSHandler(AbstractHTTPHandler):
1359
1360 def __init__(self, debuglevel=None, context=None, check_hostname=None):
1361 debuglevel = debuglevel if debuglevel is not None else http.client.HTTPSConnection.debuglevel
1362 AbstractHTTPHandler.__init__(self, debuglevel)
1363 if context is None:
1364 http_version = http.client.HTTPSConnection._http_vsn
1365 context = http.client._create_https_context(http_version)
1366 if check_hostname is not None:
1367 context.check_hostname = check_hostname
1368 self._context = context
1369
1370 def https_open(self, req):
1371 return self.do_open(http.client.HTTPSConnection, req,

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected