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

Function print_call_graph

Lib/asyncio/graph.py:267–276  ·  view source on GitHub ↗

Print the async call graph for the current task or the provided Future.

(
    future: futures.Future | None = None,
    /,
    *,
    file: io.Writer[str] | None = None,
    depth: int = 1,
    limit: int | None = None,
)

Source from the content-addressed store, hash-verified

265 return '\n'.join(buf)
266
267def print_call_graph(
268 future: futures.Future | None = None,
269 /,
270 *,
271 file: io.Writer[str] | None = None,
272 depth: int = 1,
273 limit: int | None = None,
274) -> None:
275 """Print the async call graph for the current task or the provided Future."""
276 print(format_call_graph(future, depth=depth, limit=limit), file=file)

Callers

nothing calls this directly

Calls 2

format_call_graphFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected