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

Method cb

Lib/test/test_asyncio/test_ssl.py:1084–1090  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

1082 transport, self, sslctx_2, server_side=True))
1083
1084 def cb(_):
1085 try:
1086 tr = fut.result()
1087 except Exception as ex:
1088 super_.connection_lost(ex)
1089 else:
1090 super_.connection_made(tr)
1091 fut.add_done_callback(cb)
1092
1093 def server_protocol_factory():

Callers

nothing calls this directly

Calls 3

resultMethod · 0.45
connection_lostMethod · 0.45
connection_madeMethod · 0.45

Tested by

no test coverage detected