bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 24098b9..c054243 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -97,7 +97,7 @@
}
static PyObject *
-sys_breakpointhook(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *keywords)
+sys_breakpointhook(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords)
{
assert(!PyErr_Occurred());
const char *envar = Py_GETENV("PYTHONBREAKPOINT");