summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngus Hollands <goosey15@gmail.com>2017-04-03 16:16:14 (GMT)
committerStefan Krah <skrah@bytereef.org>2017-04-03 16:16:14 (GMT)
commit8614b59910c0b3529891be164aee581eb729f1b3 (patch)
tree7f3545dfb51356441b9c016fc9d9719ed9e122ff
parent9acc6a03f1fd684fce2755b3b22f7448ad4c1dd6 (diff)
downloadcpython-8614b59910c0b3529891be164aee581eb729f1b3.zip
cpython-8614b59910c0b3529891be164aee581eb729f1b3.tar.gz
cpython-8614b59910c0b3529891be164aee581eb729f1b3.tar.bz2
Correct typo (#976)
-rw-r--r--Modules/_decimal/_decimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
index 933b3f5..a6e365d 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;
}