(self)
| 3067 | do_restart = do_run |
| 3068 | |
| 3069 | def _error_exc(self): |
| 3070 | if self._interact_state and isinstance(sys.exception(), SystemExit): |
| 3071 | # If we get a SystemExit in 'interact' mode, exit the REPL. |
| 3072 | self._interact_state = None |
| 3073 | ret = super()._error_exc() |
| 3074 | self.message("*exit from pdb interact command*") |
| 3075 | return ret |
| 3076 | else: |
| 3077 | return super()._error_exc() |
| 3078 | |
| 3079 | def default(self, line): |
| 3080 | # Unlike Pdb, don't prompt for more lines of a multi-line command. |
no test coverage detected