diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-15 11:11:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 11:11:11 (GMT) |
commit | a5552f023e1d8cbafee1e51d316cc581deb2295f (patch) | |
tree | f7cb07017f409fb035ec999efed8ddae18446865 /Modules/clinic/unicodedata.c.h | |
parent | 3325a6780c81f1ea51190370b5454879c4862a37 (diff) | |
download | cpython-a5552f023e1d8cbafee1e51d316cc581deb2295f.zip cpython-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.gz cpython-a5552f023e1d8cbafee1e51d316cc581deb2295f.tar.bz2 |
bpo-32240: Add the const qualifier to declarations of PyObject* array arguments. (#4746)
Diffstat (limited to 'Modules/clinic/unicodedata.c.h')
-rw-r--r-- | Modules/clinic/unicodedata.c.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/clinic/unicodedata.c.h b/Modules/clinic/unicodedata.c.h index 52226d6..72e3f65 100644 --- a/Modules/clinic/unicodedata.c.h +++ b/Modules/clinic/unicodedata.c.h @@ -20,7 +20,7 @@ unicodedata_UCD_decimal_impl(PyObject *self, int chr, PyObject *default_value); static PyObject * -unicodedata_UCD_decimal(PyObject *self, PyObject **args, Py_ssize_t nargs) +unicodedata_UCD_decimal(PyObject *self, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; int chr; @@ -53,7 +53,7 @@ static PyObject * unicodedata_UCD_digit_impl(PyObject *self, int chr, PyObject *default_value); static PyObject * -unicodedata_UCD_digit(PyObject *self, PyObject **args, Py_ssize_t nargs) +unicodedata_UCD_digit(PyObject *self, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; int chr; @@ -87,7 +87,7 @@ unicodedata_UCD_numeric_impl(PyObject *self, int chr, PyObject *default_value); static PyObject * -unicodedata_UCD_numeric(PyObject *self, PyObject **args, Py_ssize_t nargs) +unicodedata_UCD_numeric(PyObject *self, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; int chr; @@ -300,7 +300,7 @@ unicodedata_UCD_normalize_impl(PyObject *self, const char *form, PyObject *input); static PyObject * -unicodedata_UCD_normalize(PyObject *self, PyObject **args, Py_ssize_t nargs) +unicodedata_UCD_normalize(PyObject *self, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; const char *form; @@ -332,7 +332,7 @@ static PyObject * unicodedata_UCD_name_impl(PyObject *self, int chr, PyObject *default_value); static PyObject * -unicodedata_UCD_name(PyObject *self, PyObject **args, Py_ssize_t nargs) +unicodedata_UCD_name(PyObject *self, PyObject *const *args, Py_ssize_t nargs) { PyObject *return_value = NULL; int chr; @@ -379,4 +379,4 @@ unicodedata_UCD_lookup(PyObject *self, PyObject *arg) exit: return return_value; } -/*[clinic end generated code: output=7ec9a3c8fbfd3c3a input=a9049054013a1b77]*/ +/*[clinic end generated code: output=dc899bff0ecd14c1 input=a9049054013a1b77]*/ |