Author: walter.doerwald
Date: Tue Jun 5 22:02:26 2007
New Revision: 55778
Modified:
python/branches/py3k-struni/Objects/unicodeobject.c
Log:
unichr() is named chr() now => fix name in error message.
Modified: python/branches/py3k-struni/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k-struni/Objects/unicodeobject.c (original)
+++ python/branches/py3k-struni/Objects/unicodeobject.c Tue Jun 5 22:02:26 2007
@@ -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;
}
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins