changeset: 100642:b5279feb22f1 branch: 3.5 parent: 100632:c7071c9b8c33 user: Martin Panter date: Tue Mar 22 02:19:29 2016 +0000 files: Modules/readline.c description: Issue #15699: Reunite comment with variable diff -r c7071c9b8c33 -r b5279feb22f1 Modules/readline.c --- a/Modules/readline.c Sun Mar 20 21:18:40 2016 -0400 +++ b/Modules/readline.c Tue Mar 22 02:19:29 2016 +0000 @@ -78,10 +78,12 @@ static char *completer_word_break_characters; typedef struct { + /* Specify hook functions in Python */ PyObject *completion_display_matches_hook; PyObject *startup_hook; PyObject *pre_input_hook; - PyObject *completer; + + PyObject *completer; /* Specify a word completer in Python */ PyObject *begidx; PyObject *endidx; } readlinestate; @@ -336,13 +338,6 @@ } -/* Exported functions to specify hook functions in Python */ - - -#ifdef HAVE_RL_PRE_INPUT_HOOK - -#endif - static PyObject * set_completion_display_matches_hook(PyObject *self, PyObject *args) { @@ -403,14 +398,6 @@ #endif -/* Exported function to specify a word completer in Python */ - - - - - - - /* Get the completion type for the scope of the tab-completion */ static PyObject * get_completion_type(PyObject *self, PyObject *noarg)