'Add special styles to the text in a table'

def addCellStyling(self, table, style):

    row = 0
    for line in table:
        col = 0
        for cell in line:
            try:
                if cell.startswith('*'):
                    (instruction, sep, text) = cell.partition('    ')
                    style += self.cellStyle(instruction, (col, row))
                    table[row][col] = text
            except:
                pass
            col += 1
        row += 1
    return (table, style)
