From: Martin Panter Date: Wed, 22 Jun 2016 02:04:38 +0000 (+0000) Subject: Issue #22463: Correct #endif placement; patch by Senthil Kumaran X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29241242598e7d88c2225c2bc79f13d95b25da50;p=python Issue #22463: Correct #endif placement; patch by Senthil Kumaran --- diff --git a/Modules/readline.c b/Modules/readline.c index bfb5d76172..3bb0ac8952 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -818,6 +818,7 @@ on_completion_display_matches_hook(char **matches, #endif } +#endif #ifdef HAVE_RL_RESIZE_TERMINAL static volatile sig_atomic_t sigwinch_received; @@ -876,7 +877,6 @@ on_completion(const char *text, int state) } return result; } -#endif /* A more flexible constructor that saves the "begidx" and "endidx"