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

Method __init__

IPython/extensions/tests/test_autoreload.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38class FakeShell:
39
40 def __init__(self):
41 self.ns = {}
42 self.user_ns = self.ns
43 self.user_ns_hidden = {}
44 self.events = EventManager(self, {'pre_run_cell', pre_run_cell})
45 self.auto_magics = AutoreloadMagics(shell=self)
46 self.events.register('pre_run_cell', self.auto_magics.pre_run_cell)
47
48 register_magics = set_hook = noop
49

Callers

nothing calls this directly

Calls 3

EventManagerClass · 0.90
AutoreloadMagicsClass · 0.90
registerMethod · 0.45

Tested by

no test coverage detected