Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _get_accept_socket
Method
_get_accept_socket
Lib/asyncio/windows_events.py:757–760 ·
view source on GitHub ↗
(self, family)
Source
from the content-addressed store, hash-verified
755
self._unregistered.append(ov)
756
757
def
_get_accept_socket(self, family):
758
s = socket.socket(family)
759
s.settimeout(0)
760
return
s
761
762
def
_poll(self, timeout=None):
763
if
timeout is None:
Callers
1
accept
Method · 0.95
Calls
2
socket
Method · 0.80
settimeout
Method · 0.45
Tested by
no test coverage detected