A context manager for handling sys.displayhook.
Authors:
Bases: IPython.config.configurable.Configurable
Object to manage sys.displayhook.
This came from IPython.core.kernel.display_hook, but is simplified (no callbacks or formatters) until more of the core is refactored.
Set the hook.
Unset the hook.