summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index 2ca91fd..5529b66 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -760,6 +760,8 @@ flex_complete(char *text, int start, int end)
{
#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
rl_completion_append_character ='\0';
+#endif
+#ifdef HAVE_RL_COMPLETION_SUPPRESS_APPEND
rl_completion_suppress_append = 0;
#endif
Py_XDECREF(begidx);