diff options
-rw-r--r-- | Objects/intobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index b7ac16b..25a01c2 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -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; } |