

def _GetRow(self, columns=None):
    'Returns the current row as a tuple.'
    row = self._table[self._row_index]
    if columns:
        result = []
        for col in self:
            if (not (col in self.header)):
                raise TableError(('Column header %s not known in table.' % col))
            result.append(row[self.header.index(col)])
        row = result
    return row

dataset/ETHPy150Open google/textfsm/texttable.py TextTable._GetRow/VarMisuse@40/61 `columns`->`self`