projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9acc6a0
)
Correct typo (#976)
author
Angus Hollands
<goosey15@gmail.com>
Mon, 3 Apr 2017 16:16:14 +0000
(17:16 +0100)
committer
Stefan Krah
<skrah@bytereef.org>
Mon, 3 Apr 2017 16:16:14 +0000
(18:16 +0200)
Modules/_decimal/_decimal.c
patch
|
blob
|
history
diff --git
a/Modules/_decimal/_decimal.c
b/Modules/_decimal/_decimal.c
index 933b3f575a4541f521db4a89314deb2c222574b3..a6e365d453659fa06c04a349c55bafcda3022ecd 100644
(file)
--- 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 o
f
float");
+ "argument must be int o
r
float");
return NULL;
}