MCPcopy 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

_createMethod · 0.45
testGetSockOptMethod · 0.45
testSetSockOptMethod · 0.45
testLoopbackMethod · 0.45
testFilterMethod · 0.45
testSocketBufferSizeMethod · 0.45
check_set_quickackMethod · 0.45
test_reuse_portMethod · 0.45

Calls

no outgoing calls

Tested by 8

testGetSockOptMethod · 0.36
testSetSockOptMethod · 0.36
testLoopbackMethod · 0.36
testFilterMethod · 0.36
testSocketBufferSizeMethod · 0.36
check_set_quickackMethod · 0.36
test_reuse_portMethod · 0.36