cpython: 5e42e5764ac6 (original) (raw)
Mercurial > cpython
changeset 88671:5e42e5764ac6 2.7
new plan: just remove typecasts (closes #20374) [#20374]
Benjamin Peterson benjamin@python.org | |
---|---|
date | Fri, 24 Jan 2014 11:44:16 -0500 |
parents | 79b82ebc4fd1 |
children | 02f6c31c36a5 |
files | Modules/readline.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-)[+] [-] Modules/readline.c 8 |
line wrap: on
line diff
--- a/Modules/readline.c +++ b/Modules/readline.c @@ -852,7 +852,7 @@ on_completion(const char *text, int stat
static char ** -flex_complete(char *text, int start, int end) +flex_complete(const char text, int start, int end) { #ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER rl_completion_append_character ='\0'; @@ -911,12 +911,12 @@ setup_readline(void) rl_bind_key_in_map ('\t', rl_complete, emacs_meta_keymap); rl_bind_key_in_map ('\033', rl_complete, emacs_meta_keymap); / Set our hook functions */