Public Member Functions | |
def | __init__ (self, n=0) |
def | add (self, items) |
def | __len__ (self) |
def | __iter__ (self) |
def | __getitem__ (self, index) |
Public Attributes | |
maxlength | |
A list with the maximum length of items seen. Facilitates the correct sizing of a table in text mode. When a list of strings is add()ed, for each position in the list the length of the string in that position is compared to the maximum one seen so far in that position, and that maximum value is updated if proper.
Definition at line 617 of file SortModuleTimes.py.
def SortModuleTimes.MaxItemLengthsClass.__init__ | ( | self, | |
n = 0 |
|||
) |
Definition at line 626 of file SortModuleTimes.py.
def SortModuleTimes.MaxItemLengthsClass.__getitem__ | ( | self, | |
index | |||
) |
Definition at line 644 of file SortModuleTimes.py.
def SortModuleTimes.MaxItemLengthsClass.__iter__ | ( | self | ) |
Definition at line 643 of file SortModuleTimes.py.
def SortModuleTimes.MaxItemLengthsClass.__len__ | ( | self | ) |
Definition at line 642 of file SortModuleTimes.py.
def SortModuleTimes.MaxItemLengthsClass.add | ( | self, | |
items | |||
) |
Definition at line 629 of file SortModuleTimes.py.
SortModuleTimes.MaxItemLengthsClass.maxlength |
Definition at line 627 of file SortModuleTimes.py.