[pypy-svn] r13708 - pypy/dist/pypy/objspace/std

ale at codespeak.net ale at codespeak.net
Thu Jun 23 14:20:27 CEST 2005


Author: ale
Date: Thu Jun 23 14:20:26 2005
New Revision: 13708

Modified:
   pypy/dist/pypy/objspace/std/unicodeobject.py
Log:
wrong error message

Modified: pypy/dist/pypy/objspace/std/unicodeobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/unicodeobject.py	(original)
+++ pypy/dist/pypy/objspace/std/unicodeobject.py	Thu Jun 23 14:20:26 2005
@@ -782,7 +782,7 @@
     else:
         retval, length = encoder(unistr, errors)
     if not isinstance(retval,str):
-        raise TypeError("encoder did not return an unicode object (type=%s)" %
+        raise TypeError("encoder did not return a string object (type=%s)" %
                         type(retval).__name__)
     return retval
 



More information about the Pypy-commit mailing list