diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-26 19:22:14 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-26 19:22:14 (GMT) |
commit | d51317709b49117b448ae63325ebfe829d3c1c03 (patch) | |
tree | cbced0a65b3d81bde5a5d502a83c62b14ab716c5 /Modules/readline.c | |
parent | 47312acfdbdf7ade64afb27b3185d4e649220f75 (diff) | |
download | cpython-d51317709b49117b448ae63325ebfe829d3c1c03.zip cpython-d51317709b49117b448ae63325ebfe829d3c1c03.tar.gz cpython-d51317709b49117b448ae63325ebfe829d3c1c03.tar.bz2 |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index 51844f7..705d766 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -802,6 +802,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); |