commit | ef1585eb9a488ae8ce3ff057f43a7048b941cc1c | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Dec 25 20:01:53 2015 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Fri Dec 25 20:01:53 2015 +0200 |
tree | fbbdc44ba78d84a31d5fc0bf1679870ec4f32f77 | |
parent | 2d06e8445587d9b4d0bf79bdb08ab4743b780249 [diff] [blame] |
Issue #25923: Added more const qualifiers to signatures of static and private functions.
diff --git a/Python/_warnings.c b/Python/_warnings.c index 978bad1..daa1355 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c
@@ -921,7 +921,7 @@ #undef PyErr_Warn PyAPI_FUNC(int) -PyErr_Warn(PyObject *category, char *text) +PyErr_Warn(PyObject *category, const char *text) { return PyErr_WarnEx(category, text, 1); }