Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ getsockname
Method
getsockname
Lib/asyncio/trsock.py:79–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
77
return
self._sock.getpeername()
78
79
def
getsockname(self):
80
return
self._sock.getsockname()
81
82
def
getsockbyname(self):
83
return
self._sock.getsockbyname()
Callers
6
__repr__
Method · 0.95
__init__
Method · 0.45
connect
Method · 0.45
create_unix_server
Method · 0.45
_stop_serving
Method · 0.45
_set_socket_extra
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected