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

Function pretty

Lib/asyncio/tools.py:162–164  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

160 labels, children = _build_tree(id2name, awaits, task_stacks)
161
162 def pretty(node):
163 flag = task_emoji if node[0] == NodeType.TASK else cor_emoji
164 return f"{flag} {labels[node]}"
165
166 def render(node, prefix="", last=True, buf=None):
167 if buf is None:

Callers 1

renderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…