MCPcopy Index your code
hub / github.com/RustPython/RustPython / connection_lost

Method connection_lost

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

Source from the content-addressed store, hash-verified

61 self.state = 'EOF'
62
63 def connection_lost(self, exc):
64 assert self.state in ('CONNECTED', 'EOF'), self.state
65 self.state = 'CLOSED'
66 if self.done:
67 self.done.set_result(None)
68
69
70class MessageOutFilter(logging.Filter):

Callers 7

test_closeMethod · 0.45
connection_lostMethod · 0.45
cbMethod · 0.45

Calls 1

set_resultMethod · 0.45

Tested by

no test coverage detected