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

Method open

Lib/test/test_urllib2.py:277–278  ·  view source on GitHub ↗
(self, req, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT)

Source from the content-addressed store, hash-verified

275 addheaders = []
276
277 def open(self, req, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
278 self.req, self.data, self.timeout = req, data, timeout
279
280 def error(self, proto, *args):
281 self.proto, self.args = proto, args

Callers 4

test_cookie_redirectMethod · 0.45
_test_basic_authMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected