Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r49075:670a25758031
Date: 2011-11-09 20:21 -0800
http://bitbucket.org/pypy/pypy/changeset/670a25758031/
Log: fix translation
diff --git a/pypy/objspace/std/unicodetype.py b/pypy/objspace/std/unicodetype.py
--- a/pypy/objspace/std/unicodetype.py
+++ b/pypy/objspace/std/unicodetype.py
@@ -288,7 +288,7 @@
w_res = space.get_and_call_function(w_unicode_method, w_obj)
if not space.isinstance_w(w_res, space.w_unicode):
typename = space.type(w_res).getname(space)
- msg = "__str__ returned non-string (type %.200s)" % typename
+ msg = "__str__ returned non-string (type %s)" % typename
raise OperationError(space.w_TypeError, space.wrap(msg))
return w_res
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit