[pypy-commit] pypy py3k: partially revert 6f4f798 to fix translation
pjenvey
noreply at buildbot.pypy.org
Sat Dec 8 19:51:35 CET 2012
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r59369:224100e73390
Date: 2012-12-08 10:51 -0800
http://bitbucket.org/pypy/pypy/changeset/224100e73390/
Log: partially revert 6f4f798 to fix translation
diff --git a/pypy/objspace/std/strutil.py b/pypy/objspace/std/strutil.py
--- a/pypy/objspace/std/strutil.py
+++ b/pypy/objspace/std/strutil.py
@@ -213,4 +213,4 @@
except ValueError:
# note that we still put the original unicode string in the error
# message, not ascii_s
- raise ParseStringError(u"invalid literal for float(): %r" % s)
+ raise ParseStringError(u"invalid literal for float(): '%s'" % s)
More information about the pypy-commit
mailing list