bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)

diff --git a/Modules/clinic/_weakref.c.h b/Modules/clinic/_weakref.c.h
index 97e2a24..1c3aea1 100644
--- a/Modules/clinic/_weakref.c.h
+++ b/Modules/clinic/_weakref.c.h
@@ -44,7 +44,7 @@
                                    PyObject *key);
 
 static PyObject *
-_weakref__remove_dead_weakref(PyObject *module, PyObject **args, Py_ssize_t nargs)
+_weakref__remove_dead_weakref(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
 {
     PyObject *return_value = NULL;
     PyObject *dct;
@@ -59,4 +59,4 @@
 exit:
     return return_value;
 }
-/*[clinic end generated code: output=87ddb70850080222 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b6a61a4f365a3f0a input=a9049054013a1b77]*/