summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c
index bad8586..466ec51 100644
--- a/Modules/readline.c
+++ b/Modules/readline.c
@@ -817,6 +817,7 @@ on_completion_display_matches_hook(char **matches,
#endif
}
+#endif
/* C function to call the Python completer. */
@@ -855,7 +856,6 @@ on_completion(const char *text, int state)
}
return result;
}
-#endif
/* A more flexible constructor that saves the "begidx" and "endidx"