[pypy-commit] pypy default: Fix the message (thanks Julian on issue1256).

arigo noreply at buildbot.pypy.org
Sun Sep 9 20:34:31 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r57253:7d5b0a808fc9
Date: 2012-09-09 20:34 +0200
http://bitbucket.org/pypy/pypy/changeset/7d5b0a808fc9/

Log:	Fix the message (thanks Julian on issue1256).

diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py
--- a/pypy/module/_io/interp_stringio.py
+++ b/pypy/module/_io/interp_stringio.py
@@ -128,7 +128,7 @@
     def write_w(self, space, w_obj):
         if not space.isinstance_w(w_obj, space.w_unicode):
             raise operationerrfmt(space.w_TypeError,
-                                  "string argument expected, got '%s'",
+                                  "unicode argument expected, got '%s'",
                                   space.type(w_obj).getname(space))
         self._check_closed(space)
 


More information about the pypy-commit mailing list