summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-04 03:51:05 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-04 03:51:05 (GMT)
commit95c0700effc69b6b41a4a4ca104ee6b65a42be23 (patch)
tree42570ca4534753d2d98f753449006e19980fbf91
parent3beb38f8ffe7b54e3372bc43385e9d5b8de1b6df (diff)
downloadcpython-95c0700effc69b6b41a4a4ca104ee6b65a42be23.zip
cpython-95c0700effc69b6b41a4a4ca104ee6b65a42be23.tar.gz
cpython-95c0700effc69b6b41a4a4ca104ee6b65a42be23.tar.bz2
Fix Issue 10307 - compile error in readline.c
-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"