Skip to content

Commit

Permalink
Correct typo (python#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 authored and skrah committed Apr 3, 2017
1 parent 9acc6a0 commit 8614b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_decimal/_decimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8614b59

Please sign in to comment.