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

Function get_renderer

Tools/c-analyzer/cpython/_capi.py:469–479  ·  view source on GitHub ↗
(format)

Source from the content-addressed store, hash-verified

467
468
469def get_renderer(format):
470 format = resolve_format(format)
471 if isinstance(format, str):
472 try:
473 return _FORMATS[format]
474 except KeyError:
475 raise ValueError(f'unsupported format {format!r}')
476 else:
477 def render(items, **kwargs):
478 return render_table(items, columns=format, **kwargs)
479 return render
480
481
482def render_table(items, *,

Callers

nothing calls this directly

Calls 1

resolve_formatFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…