mirror of
https://github.com/python/cpython.git
synced 2025-09-04 07:51:13 +00:00
Issue #25923: Added more const qualifiers to signatures of static and private functions.
This commit is contained in:
parent
2d06e84455
commit
ef1585eb9a
60 changed files with 210 additions and 191 deletions
|
@ -921,7 +921,7 @@ PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level)
|
|||
#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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue