Author: Alex Gaynor <alex.gay...@gmail.com> Branch: stdlib-2.7.11 Changeset: r83203:b7a4ddad1beb Date: 2016-03-20 17:41 -0400 http://bitbucket.org/pypy/pypy/changeset/b7a4ddad1beb/
Log: change the error message to match cpython diff --git a/rpython/rlib/rfloat.py b/rpython/rlib/rfloat.py --- a/rpython/rlib/rfloat.py +++ b/rpython/rlib/rfloat.py @@ -25,7 +25,7 @@ globals().update(rffi_platform.configure(CConfig)) -INVALID_MSG = "invalid literal for float()" +INVALID_MSG = "could not convert string to float" def string_to_float(s): """ _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit