MCPcopy Create free account
hub / github.com/ipython/ipython / unset

Method unset

IPython/core/display_trap.py:67–69  ·  view source on GitHub ↗

Unset the hook.

(self)

Source from the content-addressed store, hash-verified

65 sys.displayhook = self.hook
66
67 def unset(self):
68 """Unset the hook."""
69 sys.displayhook = self.old_hook
70

Callers 1

__exit__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected