DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.c_void_p.
(self)
| 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 |
no outgoing calls
no test coverage detected