MCPcopy
hub / github.com/pallets/click / iter_rows

Function iter_rows

src/click/formatting.py:24–28  ·  view source on GitHub ↗
(
    rows: cabc.Iterable[tuple[str, str]], col_count: int
)

Source from the content-addressed store, hash-verified

22
23
24def iter_rows(
25 rows: cabc.Iterable[tuple[str, str]], col_count: int
26) -> cabc.Iterator[tuple[str, ...]]:
27 for row in rows:
28 yield row + ("",) * (col_count - len(row))
29
30
31def wrap_text(

Callers 1

write_dlMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected