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

Class CycleFoundException

Lib/asyncio/tools.py:14–23  ·  view source on GitHub ↗

Raised when there is a cycle when drawing the call tree.

Source from the content-addressed store, hash-verified

12
13
14class CycleFoundException(Exception):
15 """Raised when there is a cycle when drawing the call tree."""
16 def __init__(
17 self,
18 cycles: list[list[int]],
19 id2name: dict[int, str],
20 ) -> None:
21 super().__init__(cycles, id2name)
22 self.cycles = cycles
23 self.id2name = id2name
24
25
26

Callers 1

build_async_treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…