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

Method _generate_script_magics

IPython/core/magics/script.py:142–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

140 self.kill_bg_processes()
141
142 def _generate_script_magics(self):
143 cell_magics = self.magics['cell']
144 for name in self.script_magics:
145 cell_magics[name] = self._make_script_magic(name)
146
147 def _make_script_magic(self, name):
148 """make a named magic, that calls %%script with a particular program"""

Callers 1

__init__Method · 0.95

Calls 1

_make_script_magicMethod · 0.95

Tested by

no test coverage detected