summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-25 19:53:18 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-25 19:53:18 +0200
commitd1ba93f9a6a441ac31c5fd1890ce730b9e6d330d (patch)
tree8b977eca9b539fb4d1064d92cc2a405fab36e75d /Python/pythonrun.c
parent5f0e32baa674d4563910e0b58f1563ab0b2aa52a (diff)
downloadcpython-d1ba93f9a6a441ac31c5fd1890ce730b9e6d330d.tar.gz
Issue #25923: Added the const qualifier to static constant arrays.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 1a5dab5f3a..cfe197b25b 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -785,11 +785,11 @@ print_exception(PyObject *f, PyObject *value)
PyErr_Clear();
}
-static const char *cause_message =
+static const char cause_message[] =
"\nThe above exception was the direct cause "
"of the following exception:\n\n";
-static const char *context_message =
+static const char context_message[] =
"\nDuring handling of the above exception, "
"another exception occurred:\n\n";