summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-26 19:32:51 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-26 19:32:51 (GMT)
commit37276007210401de5ace8755066ff84048b09bd6 (patch)
treebc213ed565564eba9cc927e1718b1807664caa82 /Modules/readline.c
parentd59fb36d351d3cd7625502fdc81be22296345bb1 (diff)
downloadcpython-37276007210401de5ace8755066ff84048b09bd6.zip
cpython-37276007210401de5ace8755066ff84048b09bd6.tar.gz
cpython-37276007210401de5ace8755066ff84048b09bd6.tar.bz2
Merged revisions 75726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75726 | antoine.pitrou | 2009-10-26 20:22:14 +0100 (lun., 26 oct. 2009) | 10 lines Merged revisions 75725 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines Some platforms have rl_completion_append_character but not rl_completion_suppress_append. Reported by Mark D. ........ ................
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);