code: def renumber(self):
          
  
          num = 0
          for cell in self.cells:
              cell_split = cell.splitlines()
              if len(cell_split) >= 2:
                  num += 1
                  cell_split[0] = str(num)
                  yield '\n'.join(cell_split)
docs: Re-number cells.