Skip to content

Commit 8614b59

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)