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

Class ColumnFormatMixin

Solutions/8_3/tableformat.py:50–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected