Get a list of references to all the namespace dictionaries in which IPython might store a user-created object. Note that this does not include the displayhook, which also caches objects from the output.
(self)
| 1401 | |
| 1402 | @property |
| 1403 | def all_ns_refs(self): |
| 1404 | """Get a list of references to all the namespace dictionaries in which |
| 1405 | IPython might store a user-created object. |
| 1406 | |
| 1407 | Note that this does not include the displayhook, which also caches |
| 1408 | objects from the output.""" |
| 1409 | return [self.user_ns, self.user_global_ns, self.user_ns_hidden] + \ |
| 1410 | [m.__dict__ for m in self._main_mod_cache.values()] |
| 1411 | |
| 1412 | def reset(self, new_session=True): |
| 1413 | """Clear all internal namespaces, and attempt to release references to |
nothing calls this directly
no outgoing calls
no test coverage detected