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

Function resolve_format

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

Source from the content-addressed store, hash-verified

458
459
460def resolve_format(format):
461 if not format:
462 return 'table'
463 elif isinstance(format, str) and format in _FORMATS:
464 return format
465 else:
466 return resolve_columns(format)
467
468
469def get_renderer(format):

Callers 1

get_rendererFunction · 0.70

Calls 1

resolve_columnsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…