Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 41954:ef37431ebf2c
unichr() is named chr() now => fix name in error message.
| author | Walter Dörwald <walter@livinglogic.de> |
|---|---|
| date | Tue, 05 Jun 2007 20:02:26 +0000 |
| parents | dd4689d0ec85 |
| children | cd125fe83051 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Tue Jun 05 19:50:53 2007 +0000 +++ b/Objects/unicodeobject.c Tue Jun 05 20:02:26 2007 +0000 @@ -891,14 +891,14 @@ #ifdef Py_UNICODE_WIDE if (ordinal < 0 || ordinal > 0x10ffff) { PyErr_SetString(PyExc_ValueError, - "unichr() arg not in range(0x110000) " + "chr() arg not in range(0x110000) " "(wide Python build)"); return NULL; } #else if (ordinal < 0 || ordinal > 0xffff) { PyErr_SetString(PyExc_ValueError, - "unichr() arg not in range(0x10000) " + "chr() arg not in range(0x10000) " "(narrow Python build)"); return NULL; }
