Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ getsockopt
Method
getsockopt
Lib/test/mock_socket.py:71–72 ·
view source on GitHub ↗
(self, level, optname, buflen=None)
Source
from the content-addressed store, hash-verified
69
pass
70
71
def
getsockopt(self, level, optname, buflen=None):
72
return
0
73
74
def
bind(self, address):
75
pass
Callers
9
_create
Method · 0.45
testGetSockOpt
Method · 0.45
testSetSockOpt
Method · 0.45
testLoopback
Method · 0.45
testFilter
Method · 0.45
testSocketBufferSize
Method · 0.45
check_set_quickack
Method · 0.45
test_reuse_port
Method · 0.45
test_ipv6_only_default
Method · 0.45
Calls
no outgoing calls
Tested by
8
testGetSockOpt
Method · 0.36
testSetSockOpt
Method · 0.36
testLoopback
Method · 0.36
testFilter
Method · 0.36
testSocketBufferSize
Method · 0.36
check_set_quickack
Method · 0.36
test_reuse_port
Method · 0.36
test_ipv6_only_default
Method · 0.36