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

Function _render_item_full

Tools/c-analyzer/cpython/_capi.py:609–618  ·  view source on GitHub ↗
(item, groupby, verbose)

Source from the content-addressed store, hash-verified

607
608
609def _render_item_full(item, groupby, verbose):
610 yield item.name
611 yield f' {"filename:":10} {item.relfile}'
612 for extra in ('kind', 'level'):
613 yield f' {extra+":":10} {getattr(item, extra)}'
614 if verbose:
615 print(' ---------------------------------------')
616 for lno, line in enumerate(item.text, item.lno):
617 print(f' | {lno:3} {line}')
618 print(' ---------------------------------------')
619
620
621def render_summary(items, *,

Callers 1

render_fullFunction · 0.85

Calls 1

enumerateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…