MCPcopy Index your code
hub / github.com/ipython/ipython / init_displayhook

Method init_displayhook

IPython/core/interactiveshell.py:894–904  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

892 self.configurables.append(self.data_pub)
893
894 def init_displayhook(self):
895 # Initialize displayhook, set in/out prompts and printing system
896 self.displayhook = self.displayhook_class(
897 parent=self,
898 shell=self,
899 cache_size=self.cache_size,
900 )
901 self.configurables.append(self.displayhook)
902 # This is a context manager that installs/removes the displayhook at
903 # the appropriate time.
904 self.display_trap = DisplayTrap(hook=self.displayhook)
905
906 @staticmethod
907 def get_path_links(p: Path):

Callers 1

__init__Method · 0.95

Calls 1

DisplayTrapClass · 0.90

Tested by

no test coverage detected