mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Issue #25923: Added the const qualifier to static constant arrays.
This commit is contained in:
@@ -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