Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41627bf

Browse files
committed
Reword message
1 parent 6412b12 commit 41627bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/intobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ int_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
928928
if (!PyInt_Check(tmp)) {
929929
if (!PyLong_Check(tmp)) {
930930
PyErr_SetString(PyExc_ValueError,
931-
"value must be convertable to an int");
931+
"value can't be converted to int");
932932
Py_DECREF(tmp);
933933
return NULL;
934934
}

0 commit comments

Comments
 (0)