

def _GetTable(self):
    'Returns table, with column headers and separators.\n\n    Returns:\n      The whole table including headers as a string. Each row is\n      joined by a newline and each entry by self.separator.\n    '
    result = []
    lstr = str
    for row in self._table:
        result.append(('%s\n' % self.separator.join((lstr(v) for v in row))))
    return ''.join(result)

dataset/ETHPy150Open google/textfsm/texttable.py TextTable._GetTable/original