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

Method connection_lost

Lib/test/test_asyncio/test_ssl.py:1660–1661  ·  view source on GitHub ↗
(self, exc)

Source from the content-addressed store, hash-verified

1658 self.fut = asyncio.Future(loop=loop)
1659
1660 def connection_lost(self, exc):
1661 self.fut.set_result(None)
1662
1663 async def client(addr, ctx):
1664 tr, pr = await loop.create_connection(Protocol, *addr, ssl=ctx)

Callers 1

test_protocolMethod · 0.95

Calls 2

set_resultMethod · 0.45
set_exceptionMethod · 0.45

Tested by

no test coverage detected