Show More
@@ -389,6 +389,9 b' class InteractiveShell(SingletonConfigurable):' | |||
|
389 | 389 | displayhook_class = Type(DisplayHook) |
|
390 | 390 | display_pub_class = Type(DisplayPublisher) |
|
391 | 391 | compiler_class = Type(CachingCompiler) |
|
392 | inspector_class = Type( | |
|
393 | oinspect.Inspector, help="Class to use to instantiate the shell inspector" | |
|
394 | ).tag(config=True) | |
|
392 | 395 | |
|
393 | 396 | sphinxify_docstring = Bool(False, help= |
|
394 | 397 | """ |
@@ -755,10 +758,12 b' class InteractiveShell(SingletonConfigurable):' | |||
|
755 | 758 | @observe('colors') |
|
756 | 759 | def init_inspector(self, changes=None): |
|
757 | 760 | # Object inspector |
|
758 |
self.inspector = |
|
|
759 | PyColorize.ANSICodeColors, | |
|
760 | self.colors, | |
|
761 | self.object_info_string_level) | |
|
761 | self.inspector = self.inspector_class( | |
|
762 | oinspect.InspectColors, | |
|
763 | PyColorize.ANSICodeColors, | |
|
764 | self.colors, | |
|
765 | self.object_info_string_level, | |
|
766 | ) | |
|
762 | 767 | |
|
763 | 768 | def init_io(self): |
|
764 | 769 | # implemented in subclasses, TerminalInteractiveShell does call |
General Comments 0
You need to be logged in to leave comments.
Login now