MCPcopy Create free account
hub / github.com/astanin/python-tabulate / _build_row

Function _build_row

tabulate/__init__.py:2572–2579  ·  view source on GitHub ↗

Return a string which represents a row of data cells.

(padded_cells, colwidths, colaligns, rowfmt)

Source from the content-addressed store, hash-verified

2570
2571
2572def _build_row(padded_cells, colwidths, colaligns, rowfmt):
2573 "Return a string which represents a row of data cells."
2574 if not rowfmt:
2575 return None
2576 if callable(rowfmt):
2577 return rowfmt(padded_cells, colwidths, colaligns)
2578 else:
2579 return _build_simple_row(padded_cells, rowfmt)
2580
2581
2582def _append_basic_row(lines, padded_cells, colwidths, colaligns, rowfmt, rowalign=None):

Callers 1

_append_basic_rowFunction · 0.85

Calls 1

_build_simple_rowFunction · 0.85

Tested by

no test coverage detected