Show More
@@ -1149,7 +1149,7 b' class InteractiveShell(SingletonConfigurable):' | |||
|
1149 | 1149 | |
|
1150 | 1150 | Note that this does not include the displayhook, which also caches |
|
1151 | 1151 | objects from the output.""" |
|
1152 | return [self.user_ns, self.user_global_ns] + \ | |
|
1152 | return [self.user_ns, self.user_global_ns, self.user_ns_hidden] + \ | |
|
1153 | 1153 | [m.__dict__ for m in self._main_mod_cache.values()] |
|
1154 | 1154 | |
|
1155 | 1155 | def reset(self, new_session=True): |
@@ -1321,7 +1321,7 b' class InteractiveShell(SingletonConfigurable):' | |||
|
1321 | 1321 | for name, obj in variables.iteritems(): |
|
1322 | 1322 | if name in self.user_ns and self.user_ns[name] is obj: |
|
1323 | 1323 | del self.user_ns[name] |
|
1324 |
self.user_ns_hidden. |
|
|
1324 | self.user_ns_hidden.pop(name, None) | |
|
1325 | 1325 | |
|
1326 | 1326 | #------------------------------------------------------------------------- |
|
1327 | 1327 | # Things related to object introspection |
General Comments 0
You need to be logged in to leave comments.
Login now