From bb3f02525496e469af4297a1bb0a33d5360afe2d Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Mon, 3 Apr 2017 14:50:02 +0100 Subject: [PATCH] Correct typo --- Modules/_decimal/_decimal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c index 933b3f575a4541..a6e365d453659f 100644 --- a/Modules/_decimal/_decimal.c +++ b/Modules/_decimal/_decimal.c @@ -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; }