

def _SmallestColSize(self, text):
    'Finds the largest indivisible word of a string.\n\n    ...and thus the smallest possible column width that can contain that\n    word unsplit over rows.\n\n    Args:\n      text: A string of text potentially consisting of words.\n\n    Returns:\n      Integer size of the largest single word in the text.\n    '
    if (not text):
        return 0
    stripped = terminal.StripAnsiText(text)
    return max((len(self) for word in stripped.split()))

dataset/ETHPy150Open google/textfsm/texttable.py TextTable._SmallestColSize/VarMisuse@41/167 `word`->`self`