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

Method get_table

Tools/scripts/summarize_stats.py:699–709  ·  view source on GitHub ↗
(
        self, base_stats: Stats, head_stats: Stats | None = None
    )

Source from the content-addressed store, hash-verified

697 return columns, rows
698
699 def get_table(
700 self, base_stats: Stats, head_stats: Stats | None = None
701 ) -> tuple[Columns, Rows]:
702 if head_stats is None:
703 rows = self.calc_rows(base_stats)
704 return self.columns, rows
705 else:
706 rows_a = self.calc_rows(base_stats)
707 rows_b = self.calc_rows(head_stats)
708 cols, rows = self.join_tables(rows_a, rows_b)
709 return cols, rows
710
711
712class Section:

Callers 1

output_markdownFunction · 0.80

Calls 1

join_tablesMethod · 0.95

Tested by

no test coverage detected