def set_quit(self): """quit hook: save commands in the history file""" if readline is not None: readline.write_history_file(self._histfile) Pdb.set_quit(self)
def set_quit(self): Pdb.set_quit(self) self.finished()