MCPcopy Index your code
hub / github.com/python/cpython / ClientProto

Class ClientProto

Lib/test/test_asyncio/test_ssl.py:518–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516 sock.close()
517
518 class ClientProto(asyncio.Protocol):
519 def connection_made(self, transport):
520 nonlocal connection_made_called
521 connection_made_called = True
522
523 def connection_lost(self, exc):
524 nonlocal connection_lost_called
525 connection_lost_called = True
526
527 async def client(addr):
528 await self.loop.create_connection(

Callers 1

clientMethod · 0.70

Calls

no outgoing calls

Tested by 1

clientMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…