commit | e2f92de6a90ae11a6d8e01bd17fd88b005516835 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Nov 11 13:06:26 2017 +0200 |
committer | GitHub <noreply@github.com> | Sat Nov 11 13:06:26 2017 +0200 |
tree | a5bc255a98f488e5ecf195dc3f55665e9afecc47 | |
parent | e184cfd7bf8bcfd160e3b611d4351ca3ce52d9e2 [diff] [blame] |
Add the const qualifier to "char *" variables that refer to literal strings. (#4370)
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 17ec182..3d63186 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c
@@ -1300,7 +1300,7 @@ { PyObject *v, *w, *errtype, *errtext; PyObject *msg_obj = NULL; - char *msg = NULL; + const char *msg = NULL; int offset = err->offset; errtype = PyExc_SyntaxError;