Reload the named module in the future (if it is imported)
(self, module_name)
| 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 |