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

Method __init__

Lib/test/test_urllib2.py:301–303  ·  view source on GitHub ↗
(self, code, msg, headers, data, url=None)

Source from the content-addressed store, hash-verified

299
300class MockResponse(io.StringIO):
301 def __init__(self, code, msg, headers, data, url=None):
302 io.StringIO.__init__(self, data)
303 self.code, self.msg, self.headers, self.url = code, msg, headers, url
304
305 def info(self):
306 return self.headers

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected