MCPcopy Create free account
hub / github.com/dabeaz-course/python-mastery / ColumnFormatMixin

Class ColumnFormatMixin

Solutions/3_8/tableformat.py:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 print('</tr>')
50
51class ColumnFormatMixin:
52 formats = []
53 def row(self, rowdata):
54 rowdata = [ (fmt % item) for fmt, item in zip(self.formats, rowdata)]
55 super().row(rowdata)
56
57class UpperHeadersMixin:
58 def headings(self, headers):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected