summaryrefslogtreecommitdiff
path: root/Modules/clinic/_opcode.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-12-15 13:11:11 +0200
committerGitHub <noreply@github.com>2017-12-15 13:11:11 +0200
commita5552f023e1d8cbafee1e51d316cc581deb2295f (patch)
treef7cb07017f409fb035ec999efed8ddae18446865 /Modules/clinic/_opcode.c.h
parent3325a6780c81f1ea51190370b5454879c4862a37 (diff)
downloadcpython-git-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.gz
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
Diffstat (limited to 'Modules/clinic/_opcode.c.h')
-rw-r--r--Modules/clinic/_opcode.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/clinic/_opcode.c.h b/Modules/clinic/_opcode.c.h
index 2de8bd77d6..4d593edfac 100644
--- a/Modules/clinic/_opcode.c.h
+++ b/Modules/clinic/_opcode.c.h
@@ -15,7 +15,7 @@ static int
_opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg);
static PyObject *
-_opcode_stack_effect(PyObject *module, PyObject **args, Py_ssize_t nargs)
+_opcode_stack_effect(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
int opcode;
@@ -35,4 +35,4 @@ _opcode_stack_effect(PyObject *module, PyObject **args, Py_ssize_t nargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=616105b05b55eb45 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=577a91c9aa5559a9 input=a9049054013a1b77]*/