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

Function pre_execute

IPython/core/events.py:109–115  ·  view source on GitHub ↗

Fires before code is executed in response to user/frontend action. This includes comm and widget messages and silent execution, as well as user code cells.

()

Source from the content-addressed store, hash-verified

107
108@_define_event
109def pre_execute():
110 """Fires before code is executed in response to user/frontend action.
111
112 This includes comm and widget messages and silent execution, as well as user
113 code cells.
114 """
115 pass
116
117@_define_event
118def pre_run_cell(info):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected