]> granicus.if.org Git - python/commitdiff
Fix exception wording
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:29:41 +0000 (19:29 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 19:29:41 +0000 (19:29 +0000)
Objects/intobject.c

index 18624b31ef1d7044a4ad2dcbec6a0054d7e1b3fd..b7ac16b6c3879b126beff9234313a264527c0e8f 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 convertable to an int");
+                                       "value must be convertable to an int");
                        Py_DECREF(tmp);
                        return NULL;
                }