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 /Include/funcobject.h | |
parent | bpo-27169: The __debug__ constant is now optimized out at compile time. (#4880) (diff) | |
download | cpython-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.gz cpython-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.bz2 cpython-a5552f023e1d8cbafee1e51d316cc581deb2295f.zip |
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r-- | Include/funcobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h index 89305dcf768..86674ac90a0 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 |