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

Method __init__

Lib/test/test_urllib2.py:532–534  ·  view source on GitHub ↗
(self, debuglevel=None, context=None, check_hostname=None)

Source from the content-addressed store, hash-verified

530 # properties of httpcon
531
532 def __init__(self, debuglevel=None, context=None, check_hostname=None):
533 super(MockHTTPSHandler, self).__init__(debuglevel, context, check_hostname)
534 self.httpconn = MockHTTPClass()
535
536 def https_open(self, req):
537 return self.do_open(self.httpconn, req)

Callers

nothing calls this directly

Calls 3

superClass · 0.85
MockHTTPClassClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected