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

Function pre_run_cell

IPython/core/events.py:118–126  ·  view source on GitHub ↗

Fires before user-entered code runs. Parameters ---------- info : :class:`~IPython.core.interactiveshell.ExecutionInfo` An object containing information used for the code execution.

(info)

Source from the content-addressed store, hash-verified

116
117@_define_event
118def pre_run_cell(info):
119 """Fires before user-entered code runs.
120
121 Parameters
122 ----------
123 info : :class:`~IPython.core.interactiveshell.ExecutionInfo`
124 An object containing information used for the code execution.
125 """
126 pass
127
128@_define_event
129def post_execute():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected