Fix exception wording
This commit is contained in:
parent
e1ca355425
commit
204d7861df
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue