diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-03-09 23:38:20 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-03-09 23:38:20 (GMT) |
commit | 480f1bb67ba8d2857d87921391df278c5569774c (patch) | |
tree | 16370e5215e51cb589a2f07b93a2105c851ce956 /Objects/unicodeobject.c | |
parent | e2b4677253a809228b16a2c48b6169e1ae576f55 (diff) | |
download | cpython-480f1bb67ba8d2857d87921391df278c5569774c.zip cpython-480f1bb67ba8d2857d87921391df278c5569774c.tar.gz cpython-480f1bb67ba8d2857d87921391df278c5569774c.tar.bz2 |
Update Unicode database to Unicode 4.1.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index a0d3de9..b044d68 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; } } |