summaryrefslogtreecommitdiff
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-04-17 08:40:34 +0900
committerGitHub <noreply@github.com>2019-04-17 08:40:34 +0900
commit6fec905de5c139017f36b212e54cac46959808fe (patch)
tree80968e48c709a03114409870dc158b3c0e85ade7 /Modules/unicodedata.c
parent926b0cb5f688808dc11448a0bf3e452d1b92c232 (diff)
downloadcpython-git-6fec905de5c139017f36b212e54cac46959808fe.tar.gz
bpo-36642: make unicodedata const (GH-12855)
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index 9ceab1b3db..7fdbf332ee 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;