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

def get_pyos_inputhook_as_func(self):

    warn('`get_pyos_inputhook_as_func`    is    deprecated    since    IPython    5.0    and    will    be    removed    in    future    versions.', DeprecationWarning, stacklevel=2)
    return self.PYFUNC.in_dll(ctypes.pythonapi, 'PyOS_InputHook')
