diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-19 18:03:34 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-19 18:03:34 (GMT) |
commit | c679227e31245b0e8dec74a1f7cc77710541d985 (patch) | |
tree | 0ed52ac2bd85d0cad42e39aec5437a603750425b /Parser/pgenmain.c | |
parent | 80ab13067e9b8fbd02a05a4863e26b04938b77f5 (diff) | |
download | cpython-c679227e31245b0e8dec74a1f7cc77710541d985.zip cpython-c679227e31245b0e8dec74a1f7cc77710541d985.tar.gz cpython-c679227e31245b0e8dec74a1f7cc77710541d985.tar.bz2 |
Issue #1772673: The type of `char*` arguments now changed to `const char*`.
Diffstat (limited to 'Parser/pgenmain.c')
-rw-r--r-- | Parser/pgenmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pgenmain.c b/Parser/pgenmain.c index a624dd2..017a4f9 100644 --- a/Parser/pgenmain.c +++ b/Parser/pgenmain.c @@ -138,7 +138,7 @@ Py_FatalError(const char *msg) /* No-nonsense my_readline() for tokenizer.c */ char * -PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) +PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) { size_t n = 1000; char *p = (char *)PyMem_MALLOC(n); |