Commit 204d7861 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix exception wording

parent e1ca3554
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment