diff options
author | Angus Hollands <goosey15@gmail.com> | 2017-04-03 16:16:14 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2017-04-03 16:16:14 (GMT) |
commit | 8614b59910c0b3529891be164aee581eb729f1b3 (patch) | |
tree | 7f3545dfb51356441b9c016fc9d9719ed9e122ff | |
parent | 9acc6a03f1fd684fce2755b3b22f7448ad4c1dd6 (diff) | |
download | cpython-8614b59910c0b3529891be164aee581eb729f1b3.zip cpython-8614b59910c0b3529891be164aee581eb729f1b3.tar.gz cpython-8614b59910c0b3529891be164aee581eb729f1b3.tar.bz2 |
Correct typo (#976)
-rw-r--r-- | Modules/_decimal/_decimal.c | 2 |
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; } |