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

Method __init__

IPython/lib/inputhook.py:116–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 """
115
116 def __init__(self):
117 if ctypes is None:
118 warn("IPython GUI event loop requires ctypes, %gui will not be available")
119 else:
120 self.PYFUNC = ctypes.PYFUNCTYPE(ctypes.c_int)
121 self.guihooks = {}
122 self.aliases = {}
123 self.apps = {}
124 self._reset()
125
126 def _reset(self):
127 self._callback_pyfunctype = None

Callers

nothing calls this directly

Calls 1

_resetMethod · 0.95

Tested by

no test coverage detected