mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix exception wording
This commit is contained in:
parent
e1ca355425
commit
204d7861df
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue