mirror of https://github.com/python/cpython.git
parent
390e9dbd4f
commit
6a16ea07b8
|
@ -282,7 +282,7 @@ _getname(Py_UCS4 code, char* buffer, int buflen)
|
|||
int word;
|
||||
unsigned char* w;
|
||||
|
||||
if (code < 0 || code >= 65536)
|
||||
if (code >= 65536)
|
||||
return 0;
|
||||
|
||||
/* get offset into phrasebook */
|
||||
|
|
Loading…
Reference in New Issue