diff options
author | Christian Heimes <christian@cheimes.de> | 2013-12-04 08:31:47 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-12-04 08:31:47 (GMT) |
commit | a3da7c5f8aa7592c783728b0d3067ca0b978e462 (patch) | |
tree | 65d87b286b8fb351f0473bd65de3a7c129cf127a | |
parent | d3afe781b15e47784273bbb82da6122bf7be999e (diff) | |
download | cpython-a3da7c5f8aa7592c783728b0d3067ca0b978e462.zip cpython-a3da7c5f8aa7592c783728b0d3067ca0b978e462.tar.gz cpython-a3da7c5f8aa7592c783728b0d3067ca0b978e462.tar.bz2 |
make char* const
readline() takes a const char* and the other readline_until_enter_or_signal() implementation
already has const char*.
-rw-r--r-- | Modules/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/readline.c b/Modules/readline.c index f255a87..43e25bc 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -1118,7 +1118,7 @@ onintr(int sig) static char * -readline_until_enter_or_signal(char *prompt, int *signal) +readline_until_enter_or_signal(const char *prompt, int *signal) { PyOS_sighandler_t old_inthandler; char *p; |