

def _SetHeader(self, new_values):
    'Sets header of table to the given tuple.\n\n    Args:\n      new_values: Tuple of new header values.\n    '
    row = self.row_class()
    row.row = 0
    for v in new_values:
        row[v] = v
    self._table[0] = row

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