summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-22 02:04:38 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-22 02:04:38 (GMT)
commit29241242598e7d88c2225c2bc79f13d95b25da50 (patch)
treeea96ccd0fb8f07262eb5e76ed50133798a657289
parent646b528467b171148143980452d2aa4294cbe5c8 (diff)
downloadcpython-29241242598e7d88c2225c2bc79f13d95b25da50.zip
cpython-29241242598e7d88c2225c2bc79f13d95b25da50.tar.gz
cpython-29241242598e7d88c2225c2bc79f13d95b25da50.tar.bz2
Issue #22463: Correct #endif placement; patch by Senthil Kumaran
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index bfb5d76..3bb0ac8 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"