mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -1118,7 +1118,7 @@ onintr(int sig)
|
||||||
|
|
||||||
|
|
||||||
static char *
|
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;
|
PyOS_sighandler_t old_inthandler;
|
||||||
char *p;
|
char *p;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue