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

Method get_pyos_inputhook

IPython/lib/inputhook.py:132–138  ·  view source on GitHub ↗

DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.c_void_p.

(self)

Source from the content-addressed store, hash-verified

130 self._current_gui = None
131
132 def get_pyos_inputhook(self):
133 """DEPRECATED since IPython 5.0
134
135 Return the current PyOS_InputHook as a ctypes.c_void_p."""
136 warn("`get_pyos_inputhook` is deprecated since IPython 5.0 and will be removed in future versions.",
137 DeprecationWarning, stacklevel=2)
138 return ctypes.c_void_p.in_dll(ctypes.pythonapi,"PyOS_InputHook")
139
140 def get_pyos_inputhook_as_func(self):
141 """DEPRECATED since IPython 5.0

Callers 2

set_inputhookMethod · 0.95
clear_inputhookMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected