diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-14 09:19:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 09:19:51 (GMT) |
commit | afb3e71a1710c444fbe789b51df43ee16ee9ede7 (patch) | |
tree | 31c2164ceb03c23e1ce6a10c93a016693349f776 /Modules/arraymodule.c | |
parent | 7b36016a15aeed0d76a4c05a66203e6d7723aace (diff) | |
download | cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.zip cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.tar.gz cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.tar.bz2 |
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 1bfc4dd..f5f461b 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1712,9 +1712,9 @@ some other type. [clinic start generated code]*/ static PyObject * -array_array_fromunicode_impl(arrayobject *self, Py_UNICODE *ustr, +array_array_fromunicode_impl(arrayobject *self, const Py_UNICODE *ustr, Py_ssize_clean_t ustr_length) -/*[clinic end generated code: output=ebb72fc16975e06d input=150f00566ffbca6e]*/ +/*[clinic end generated code: output=cf2f662908e2befc input=150f00566ffbca6e]*/ { char typecode; |