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

Method gettimeout

Lib/test/mock_socket.py:65–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 self.timeout = timeout
64
65 def gettimeout(self):
66 return self.timeout
67
68 def setsockopt(self, level, optname, value):
69 pass

Callers 15

_get_responseMethod · 0.45
_createMethod · 0.45
do_handshakeMethod · 0.45
dupMethod · 0.45
acceptMethod · 0.45
_sendfile_zerocopyMethod · 0.45
_sendfile_use_sendMethod · 0.45
handle_requestMethod · 0.45
test_timeoutMethod · 0.45
testDefaultTimeoutMethod · 0.45
assert_sock_timeoutMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_timeoutMethod · 0.36
testDefaultTimeoutMethod · 0.36
assert_sock_timeoutMethod · 0.36
testAcceptMethod · 0.36
_testTimeoutDefaultMethod · 0.36
_testTimeoutNoneMethod · 0.36
checkNonblockMethod · 0.36