Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_response
Method · 0.45
_create
Method · 0.45
do_handshake
Method · 0.45
dup
Method · 0.45
accept
Method · 0.45
_sendfile_zerocopy
Method · 0.45
_sendfile_use_send
Method · 0.45
handle_request
Method · 0.45
test_timeout
Method · 0.45
testDefaultTimeout
Method · 0.45
assert_sock_timeout
Method · 0.45
testSetBlocking_overflow
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_timeout
Method · 0.36
testDefaultTimeout
Method · 0.36
assert_sock_timeout
Method · 0.36
testSetBlocking_overflow
Method · 0.36
testInheritFlagsBlocking
Method · 0.36
testInheritFlagsTimeout
Method · 0.36
testAccept
Method · 0.36
_testTimeoutDefault
Method · 0.36
_testTimeoutNone
Method · 0.36
_testTimeoutValueNamed
Method · 0.36
_testTimeoutValueNonamed
Method · 0.36
checkNonblock
Method · 0.36