Commits

Philip Jenvey committed 224100e

partially revert 6f4f798 to fix translation

Comments (0)

Files changed (1)

pypy/objspace/std/strutil.py

     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)