From: Angus Hollands Date: Mon, 3 Apr 2017 16:16:14 +0000 (+0100) Subject: Correct typo (#976) X-Git-Tag: v3.7.0a1~1012 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8614b59910c0b3529891be164aee581eb729f1b3;p=python Correct typo (#976) --- diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c index 933b3f575a..a6e365d453 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; }