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

Method connection_lost

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

Source from the content-addressed store, hash-verified

566 class MyProto(MyBaseProto):
567
568 def connection_lost(self, exc):
569 super().connection_lost(exc)
570 loop.call_soon(loop.stop)
571
572 def data_received(self, data):
573 super().data_received(data)

Callers

nothing calls this directly

Calls 3

superClass · 0.85
connection_lostMethod · 0.45
call_soonMethod · 0.45

Tested by

no test coverage detected