mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Correct typo (#976)
This commit is contained in:
parent
9acc6a03f1
commit
8614b59910
1 changed files with 1 additions and 1 deletions
|
@ -2242,7 +2242,7 @@ PyDecType_FromFloatExact(PyTypeObject *type, PyObject *v,
|
|||
}
|
||||
if (!PyFloat_Check(v)) {
|
||||
PyErr_SetString(PyExc_TypeError,
|
||||
"argument must be int of float");
|
||||
"argument must be int or float");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue