summaryrefslogtreecommitdiff
path: root/Include/funcobject.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 /Include/funcobject.h
parent3325a6780c81f1ea51190370b5454879c4862a37 (diff)
downloadcpython-git-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.gz
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r--Include/funcobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h
index 89305dcf76..86674ac90a 100644
--- a/Include/funcobject.h
+++ b/Include/funcobject.h
@@ -61,13 +61,13 @@ PyAPI_FUNC(int) PyFunction_SetAnnotations(PyObject *, PyObject *);
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict(
PyObject *func,
- PyObject **args,
+ PyObject *const *args,
Py_ssize_t nargs,
PyObject *kwargs);
PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords(
PyObject *func,
- PyObject **stack,
+ PyObject *const *stack,
Py_ssize_t nargs,
PyObject *kwnames);
#endif