DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.PYFUNCYPE.
(self)
| 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 |
| 142 | |
| 143 | Return the current PyOS_InputHook as a ctypes.PYFUNCYPE.""" |
| 144 | warn("`get_pyos_inputhook_as_func` is deprecated since IPython 5.0 and will be removed in future versions.", |
| 145 | DeprecationWarning, stacklevel=2) |
| 146 | return self.PYFUNC.in_dll(ctypes.pythonapi,"PyOS_InputHook") |
| 147 | |
| 148 | def set_inputhook(self, callback): |
| 149 | """DEPRECATED since IPython 5.0 |
no outgoing calls
no test coverage detected