mirror of https://github.com/python/cpython
make char* const
readline() takes a const char* and the other readline_until_enter_or_signal() implementation already has const char*.
This commit is contained in:
parent
d3afe781b1
commit
a3da7c5f8a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue