code: def re_run_last_cell(self):
          
          text, line = (self.get_current_editor()
                        .get_last_cell_as_executable_code())
          self._run_cell_text(text, line)
docs: Run the previous cell again.