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

Function _run_until_complete_cb

Lib/asyncio/base_events.py:181–188  ·  view source on GitHub ↗
(fut)

Source from the content-addressed store, hash-verified

179
180
181def _run_until_complete_cb(fut):
182 if not fut.cancelled():
183 exc = fut.exception()
184 if isinstance(exc, (SystemExit, KeyboardInterrupt)):
185 # Issue #22429: run_forever() already finished, no need to
186 # stop it.
187 return
188 futures._get_loop(fut).stop()
189
190
191if hasattr(socket, 'TCP_NODELAY'):

Callers

nothing calls this directly

Calls 5

isinstanceFunction · 0.85
_get_loopMethod · 0.80
cancelledMethod · 0.45
exceptionMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected