Correct typo (#976)
This commit is contained in:
parent
9acc6a03f1
commit
8614b59910
|
@ -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…
Reference in New Issue