MCPcopy Index your code
hub / github.com/python/cpython / _error_exc

Method _error_exc

Lib/pdb.py:3069–3077  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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.

Callers 2

_run_in_python_replMethod · 0.95
defaultMethod · 0.95

Calls 4

messageMethod · 0.95
superClass · 0.85
exceptionMethod · 0.45
_error_excMethod · 0.45

Tested by

no test coverage detected