]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix exception wording
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:30:29 +0000 (19:30 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:30:29 +0000 (19:30 +0000)
Objects/intobject.c

index 8a27bfe4d597c8627ddeb21875e71b111a965780..e530ecb645eeb116b710c8f3b2ee5bc28bdfeb69 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 convertable to an int");
+                                       "value must be convertable to an int");
                        return NULL;
                }
                ival = PyLong_AsLong(tmp);