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

Method getsockname

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

Source from the content-addressed store, hash-verified

79 return self.conn, 'c'
80
81 def getsockname(self):
82 return ('0.0.0.0', 0)
83
84 def setblocking(self, flag):
85 pass

Callers 15

__repr__Method · 0.45
_fallback_socketpairFunction · 0.45
makeportMethod · 0.45
attachFunction · 0.45
server_bindMethod · 0.45
simple_server.pyFile · 0.45
testFunction · 0.45
_run_with_syncFunction · 0.45
_connected_pairMethod · 0.45
test_subclassMethod · 0.45
test_server_acceptMethod · 0.45

Calls

no outgoing calls

Tested by 15

_connected_pairMethod · 0.36
test_subclassMethod · 0.36
test_server_acceptMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
http_serverFunction · 0.36
http_multi_serverFunction · 0.36
clientSetUpMethod · 0.36