mirror of
https://github.com/python/cpython.git
synced 2025-07-16 15:55:18 +00:00
Update Unicode database to Unicode 4.1.
This commit is contained in:
parent
e2b4677253
commit
480f1bb67b
12 changed files with 17302 additions and 13365 deletions
|
@ -1898,7 +1898,7 @@ PyObject *PyUnicode_DecodeUnicodeEscape(const char *s,
|
|||
/* found a name. look it up in the unicode database */
|
||||
message = "unknown Unicode character name";
|
||||
s++;
|
||||
if (ucnhash_CAPI->getcode(start, (int)(s-start-1), &chr))
|
||||
if (ucnhash_CAPI->getcode(NULL, start, (int)(s-start-1), &chr))
|
||||
goto store;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue