bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
diff --git a/Objects/clinic/floatobject.c.h b/Objects/clinic/floatobject.c.h
index 9325154..ac3ff0c 100644
--- a/Objects/clinic/floatobject.c.h
+++ b/Objects/clinic/floatobject.c.h
@@ -53,7 +53,7 @@
float___round___impl(PyObject *self, PyObject *o_ndigits);
static PyObject *
-float___round__(PyObject *self, PyObject **args, Py_ssize_t nargs)
+float___round__(PyObject *self, PyObject *const *args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
PyObject *o_ndigits = NULL;
@@ -263,7 +263,7 @@
const char *fmt);
static PyObject *
-float___set_format__(PyTypeObject *type, PyObject **args, Py_ssize_t nargs)
+float___set_format__(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
const char *typestr;
@@ -305,4 +305,4 @@
exit:
return return_value;
}
-/*[clinic end generated code: output=90c06ea9d72130cc input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a3c366a156be61f9 input=a9049054013a1b77]*/