234a235,251 > static PyObject * > get_pre_input_hook(PyObject *self, PyObject *args) > { > if(pre_input_hook!=NULL){ > Py_INCREF(pre_input_hook); > return pre_input_hook; > }else{ > Py_INCREF(Py_None); > return Py_None; > } > } > > PyDoc_STRVAR(doc_get_pre_input_hook, > "get_pre_input_hook() -> Function\n\ > Get the current pre_input_hook.\n\ > If this function is called when no pre_input_hook has been\n\ > set then it will return None."); 573a591,592 > {"get_pre_input_hook", get_pre_input_hook, > METH_NOARGS, doc_get_pre_input_hook},