Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ set_protocol
Method
set_protocol
Lib/asyncio/proactor_events.py:94–95 ·
view source on GitHub ↗
(self, protocol)
Source
from the content-addressed store, hash-verified
92
self._extra[
'pipe'
] = sock
93
94
def
set_protocol(self, protocol):
95
self._protocol = protocol
96
97
def
get_protocol(self):
98
return
self._protocol
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected