''

def __end_row_func(self, line):

    if ((len(self.__state) > 1) and (self.__state[(-1)] == 'in_row')):
        self.__state.pop()
        self.__write_obj.write('mi<tg<close_____<row\n')
    else:
        self.__write_obj.write('mi<tg<empty_____<row\n')
        self.__rows_in_table += 1
    if (self.__cells_in_row > self.__max_number_cells_in_row):
        self.__max_number_cells_in_row = self.__cells_in_row
    self.__list_of_cells_in_row.append(self.__cells_in_row)
