From 8614b59910c0b3529891be164aee581eb729f1b3 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Mon, 3 Apr 2017 17:16:14 +0100 Subject: [PATCH] Correct typo (#976) --- 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 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; } -- 2.40.0