Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_socketpair
Function · 0.45
makeport
Method · 0.45
attach
Function · 0.45
server_bind
Method · 0.45
simple_server.py
File · 0.45
test
Function · 0.45
_run_with_sync
Function · 0.45
_connected_pair
Method · 0.45
test_unknown_channel_binding
Method · 0.45
test_subclass
Method · 0.45
test_server_accept
Method · 0.45
Calls
no outgoing calls
Tested by
15
_connected_pair
Method · 0.36
test_unknown_channel_binding
Method · 0.36
test_subclass
Method · 0.36
test_server_accept
Method · 0.36
test_preauth_data_to_tls_server
Method · 0.36
test_preauth_data_to_tls_client
Method · 0.36
test_https_client_non_tls_response_ignored
Method · 0.36
setUp
Method · 0.36
setUp
Method · 0.36
http_server
Function · 0.36
http_multi_server
Function · 0.36
clientSetUp
Method · 0.36