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

Method mark_module_reloadable

IPython/extensions/autoreload.py:157–163  ·  view source on GitHub ↗

Reload the named module in the future (if it is imported)

(self, module_name)

Source from the content-addressed store, hash-verified

155 self.skip_modules[module_name] = True
156
157 def mark_module_reloadable(self, module_name):
158 """Reload the named module in the future (if it is imported)"""
159 try:
160 del self.skip_modules[module_name]
161 except KeyError:
162 pass
163 self.modules[module_name] = True
164
165 def aimport_module(self, module_name):
166 """Import a module, and mark it reloadable

Callers 1

aimport_moduleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected