Show More
@@ -198,7 +198,7 b' class DisplayHook(Configurable):' | |||||
198 | """Update user_ns with various things like _, __, _1, etc.""" |
|
198 | """Update user_ns with various things like _, __, _1, etc.""" | |
199 |
|
199 | |||
200 | # Avoid recursive reference when displaying _oh/Out |
|
200 | # Avoid recursive reference when displaying _oh/Out | |
201 | if result is not self.shell.user_ns['_oh']: |
|
201 | if self.cache_size and result is not self.shell.user_ns['_oh']: | |
202 | if len(self.shell.user_ns['_oh']) >= self.cache_size and self.do_full_cache: |
|
202 | if len(self.shell.user_ns['_oh']) >= self.cache_size and self.do_full_cache: | |
203 | self.cull_cache() |
|
203 | self.cull_cache() | |
204 |
|
204 |
General Comments 0
You need to be logged in to leave comments.
Login now