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

Function _print_cycle_exception

Lib/asyncio/tools.py:217–222  ·  view source on GitHub ↗
(exception: CycleFoundException)

Source from the content-addressed store, hash-verified

215 return table
216
217def _print_cycle_exception(exception: CycleFoundException):
218 print("ERROR: await-graph contains cycles - cannot print a tree!", file=sys.stderr)
219 print("", file=sys.stderr)
220 for c in exception.cycles:
221 inames = " → ".join(exception.id2name.get(tid, hex(tid)) for tid in c)
222 print(f"cycle: {inames}", file=sys.stderr)
223
224
225def exit_with_permission_help_text():

Callers 1

Calls 2

joinMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…