pylint/reporters/ureports/__init__.py
def get_table_content(self, table):
        """trick to get table content without actually writing it

        return an aligned list of lists containing table cells values as string
        """
        result = [[]]
        cols = table.cols
        for cell in self.compute_content(table):
            if cols == 0:
                result.append([])
                cols = table.cols
            cols -= 1
            result[-1].append(cell)
        # fill missing cells
        while len(result[-1]) < cols:
            result[-1].append("")
        return result
def get_table_content(self, table):
        result = [[]]
        cols = table.cols
        for cell in self.compute_content(table):
            if cols == 0:
                result.append([])
                cols = table.cols
            cols -= 1
            result[-1].append(cell)
        # fill missing cells
        while len(result[-1]) < cols:
            result[-1].append("")
        return result
def get_table_content ( self , table ) : result = [ [ ] ] cols = table . cols for cell in self . compute_content ( table ) : if cols == 0 : result . append ( [ ] ) cols = table . cols cols -= 1 result [ - 1 ] . append ( cell ) # fill missing cells while len ( result [ - 1 ] ) < cols : result [ - 1 ] . append ( "" ) return result
trick to get table content without actually writing it

        return an aligned list of lists containing table cells values as string
trick to get table content without actually writing it