mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
Issue #25923: Added the const qualifier to static constant arrays.
This commit is contained in:
+2
-2
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user