mirror of https://github.com/python/cpython
Reword message
This commit is contained in:
parent
6412b121f6
commit
41627bf78d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue