Commits

Philip Jenvey  committed 224100e

partially revert 6f4f798 to fix translation

  • Participants
  • Parent commits b27d0ed
  • Branches py3k

Comments (0)

Files changed (1)

File 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)