Lines Matching refs:fields
17 # fields enclosed by brackets "[]" replaced with your own identifying
28 __slots__ = "fields", "rjustfields", "maxfieldlen", "lines"
31 def __init__(self, fields, rjustfields=()):
33 self.fields = fields
35 self.maxfieldlen = dict.fromkeys(fields, 0)
45 for f in self.fields:
53 d = dict([(f, f.upper()) for f in self.fields])
59 for i in range(len(self.fields)):
64 if self.fields[i] in self.rjustfields:
68 mfl = self.maxfieldlen[self.fields[i]]