MCPcopy Index your code
hub / github.com/ipython/ipython / _setup_execution_tracking

Method _setup_execution_tracking

IPython/core/displaypub.py:68–71  ·  view source on GitHub ↗

Set up hooks to track execution state

(self)

Source from the content-addressed store, hash-verified

66 raise TypeError("metadata must be a dict, got: %r" % data)
67
68 def _setup_execution_tracking(self):
69 """Set up hooks to track execution state"""
70 self.shell.events.register("post_execute", self._on_post_execute)
71 self.shell.events.register("pre_execute", self._on_pre_execute)
72
73 def _on_post_execute(self):
74 """Called at start of post_execute phase"""

Callers 1

__init__Method · 0.95

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected