diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-15 13:11:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 13:11:11 +0200 |
commit | a5552f023e1d8cbafee1e51d316cc581deb2295f (patch) | |
tree | f7cb07017f409fb035ec999efed8ddae18446865 /Python/clinic/marshal.c.h | |
parent | 3325a6780c81f1ea51190370b5454879c4862a37 (diff) | |
download | cpython-git-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.gz |
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
Diffstat (limited to 'Python/clinic/marshal.c.h')
-rw-r--r-- | Python/clinic/marshal.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/clinic/marshal.c.h b/Python/clinic/marshal.c.h index a9466357a5..1ae9332fd3 100644 --- a/Python/clinic/marshal.c.h +++ b/Python/clinic/marshal.c.h @@ -27,7 +27,7 @@ marshal_dump_impl(PyObject *module, PyObject *value, PyObject *file, int version); static PyObject * -marshal_dump(PyObject *module, PyObject **args, Py_ssize_t nargs) +marshal_dump(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; PyObject *value; @@ -84,7 +84,7 @@ static PyObject * marshal_dumps_impl(PyObject *module, PyObject *value, int version); static PyObject * -marshal_dumps(PyObject *module, PyObject **args, Py_ssize_t nargs) +marshal_dumps(PyObject *module, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; PyObject *value; @@ -134,4 +134,4 @@ exit: return return_value; } -/*[clinic end generated code: output=15e284a34abfd26a input=a9049054013a1b77]*/ +/*[clinic end generated code: output=584eb2222d86fdc3 input=a9049054013a1b77]*/ |