Author: Brian Kearns <[email protected]>
Branch:
Changeset: r60917:e12b860bab28
Date: 2013-02-06 16:04 -0500
http://bitbucket.org/pypy/pypy/changeset/e12b860bab28/
Log: here too
diff --git a/pypy/module/unicodedata/interp_ucd.py
b/pypy/module/unicodedata/interp_ucd.py
--- a/pypy/module/unicodedata/interp_ucd.py
+++ b/pypy/module/unicodedata/interp_ucd.py
@@ -67,7 +67,7 @@
# Accept surrogates
try:
return ord_accepts_surrogate(space.unicode_w(w_unichr))
- except ValueError:
+ except TypeError:
raise OperationError(space.w_TypeError, space.wrap(
'need a single Unicode character as parameter'))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit