diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-16 23:40:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-16 23:40:34 (GMT) |
commit | 6fec905de5c139017f36b212e54cac46959808fe (patch) | |
tree | 80968e48c709a03114409870dc158b3c0e85ade7 /Modules/unicodedata.c | |
parent | 926b0cb5f688808dc11448a0bf3e452d1b92c232 (diff) | |
download | cpython-6fec905de5c139017f36b212e54cac46959808fe.zip cpython-6fec905de5c139017f36b212e54cac46959808fe.tar.gz cpython-6fec905de5c139017f36b212e54cac46959808fe.tar.bz2 |
bpo-36642: make unicodedata const (GH-12855)
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r-- | Modules/unicodedata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index 9ceab1b..7fdbf33 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -1029,7 +1029,7 @@ _getucname(PyObject *self, Py_UCS4 code, char* buffer, int buflen, int offset; int i; int word; - unsigned char* w; + const unsigned char* w; if (code >= 0x110000) return 0; |