]> granicus.if.org Git - python/commitdiff
Reword message
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:49:12 +0000 (19:49 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:49:12 +0000 (19:49 +0000)
Objects/intobject.c

index b7ac16b6c3879b126beff9234313a264527c0e8f..25a01c2de53c1c746ea10980f1017f1d109365ba 100644 (file)
@@ -928,7 +928,7 @@ int_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
        if (!PyInt_Check(tmp)) {
                if (!PyLong_Check(tmp)) {
                        PyErr_SetString(PyExc_ValueError,
-                                       "value must be convertable to an int");
+                                       "value can't be converted to int");
                        Py_DECREF(tmp);
                        return NULL;
                }