Author: Daniel Patrick <[email protected]>
Branch: py3.5
Changeset: r87377:a049fdfa2c3c
Date: 2016-09-25 20:25 +0100
http://bitbucket.org/pypy/pypy/changeset/a049fdfa2c3c/

Log:    Remove excess spaces from error message (commit f1684db)

diff --git a/pypy/objspace/std/floatobject.py b/pypy/objspace/std/floatobject.py
--- a/pypy/objspace/std/floatobject.py
+++ b/pypy/objspace/std/floatobject.py
@@ -226,8 +226,8 @@
                 if e.match(space, space.w_TypeError):
                     raise oefmt(
                         space.w_TypeError,
-                        "float() argument must be a string or a number,\
-                                not '%T'", w_value)
+                        ("float() argument must be a string or a number,"
+                                "not '%T'"), w_value)
                 raise
             value = _string_to_float(space, w_value, value)
         w_obj = space.allocate_instance(W_FloatObject, w_floattype)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to