bpo-36642: make unicodedata const (GH-12855)

This commit is contained in:
Inada Naoki 2019-04-17 08:40:34 +09:00 committed by GitHub
parent 926b0cb5f6
commit 6fec905de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 19 deletions

View file

@ -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;