]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Reword message
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:49:52 +0000 (19:49 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:49:52 +0000 (19:49 +0000)
Objects/intobject.c

index e530ecb645eeb116b710c8f3b2ee5bc28bdfeb69..0390a22c05f832d2d397186be6ee9150bda62d5e 100644 (file)
@@ -946,7 +946,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");
                        return NULL;
                }
                ival = PyLong_AsLong(tmp);