Skip to content

Commit 8614b59

Browse files
agoose77skrah
authored andcommitted
Correct typo (python#976)
1 parent 9acc6a0 commit 8614b59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_decimal/_decimal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2242,7 +2242,7 @@ PyDecType_FromFloatExact(PyTypeObject *type, PyObject *v,
22422242
}
22432243
if (!PyFloat_Check(v)) {
22442244
PyErr_SetString(PyExc_TypeError,
2245-
"argument must be int of float");
2245+
"argument must be int or float");
22462246
return NULL;
22472247
}
22482248

0 commit comments

Comments
 (0)