Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_protocol
Method
get_protocol
Lib/asyncio/transports.py:41–43 ·
view source on GitHub ↗
Return the current protocol.
(self)
Source
from the content-addressed store, hash-verified
39
raise
NotImplementedError
40
41
def
get_protocol(self):
42
""
"Return the current protocol."
""
43
raise
NotImplementedError
44
45
46
class
ReadTransport(BaseTransport):
Callers
3
__init__
Method · 0.45
ssl_protocol
Method · 0.45
test_set_new_app_protocol
Method · 0.45
Calls
no outgoing calls
Tested by
2
ssl_protocol
Method · 0.36
test_set_new_app_protocol
Method · 0.36