MCPcopy Create free account
hub / github.com/ipython/ipython / error_before_exec

Method error_before_exec

IPython/core/interactiveshell.py:3028–3034  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3026 result.execution_count = self.execution_count
3027
3028 def error_before_exec(value):
3029 if store_history:
3030 self.execution_count += 1
3031 result.error_before_exec = value
3032 self.last_execution_succeeded = False
3033 self.last_execution_result = result
3034 return result
3035
3036 self.events.trigger('pre_execute')
3037 if not silent:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected