From: Senthil Kumaran Date: Thu, 4 Nov 2010 03:51:05 +0000 (+0000) Subject: Fix Issue 10307 - compile error in readline.c X-Git-Tag: v3.2a4~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95c0700effc69b6b41a4a4ca104ee6b65a42be23;p=python Fix Issue 10307 - compile error in readline.c --- diff --git a/Modules/readline.c b/Modules/readline.c index bad8586b92..466ec512e6 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"