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