]> granicus.if.org Git - python/commitdiff
Fix extra-long line; also makes py3k match trunk here.
authorMark Dickinson <dickinsm@gmail.com>
Mon, 26 Oct 2009 21:12:50 +0000 (21:12 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 26 Oct 2009 21:12:50 +0000 (21:12 +0000)
Objects/floatobject.c

index 20fe956f5e4a4fc5dba638bb4f7ce27a51bcc14e..ff5c0f6a699c655bf8c52c99e168b7b3d864173a 100644 (file)
@@ -183,7 +183,7 @@ PyFloat_FromString(PyObject *v)
        }
        else if (PyObject_AsCharBuffer(v, &s, &len)) {
                PyErr_SetString(PyExc_TypeError,
-                               "float() argument must be a string or a number");
+                       "float() argument must be a string or a number");
                return NULL;
        }
        last = s + len;