diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-26 19:16:46 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-26 19:16:46 (GMT) |
commit | d9ff74e51dc0ede17116b590e2e544d1a2b7fe39 (patch) | |
tree | 50eb594796a523d7cd813174516307b1403da851 /Modules | |
parent | c1bdf891458d2f37aa90b27f3ea85379cbb0d967 (diff) | |
download | cpython-d9ff74e51dc0ede17116b590e2e544d1a2b7fe39.zip cpython-d9ff74e51dc0ede17116b590e2e544d1a2b7fe39.tar.gz cpython-d9ff74e51dc0ede17116b590e2e544d1a2b7fe39.tar.bz2 |
Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
Reported by Mark D.
Diffstat (limited to 'Modules')
-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 cd79cc6..2db6cfb 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -803,6 +803,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); |