summaryrefslogtreecommitdiffstats
path: root/Include/floatobject.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-04-18 23:49:11 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-04-18 23:49:11 (GMT)
commitc873550737cf191a64ea81e9eb50ee7355c7aec7 (patch)
tree8b41f7f553b9057e57573d81611c5d548a45a8c2 /Include/floatobject.h
parent81ad6a185aec0f6d146151e9eaee68b19fa7880e (diff)
downloadcpython-c873550737cf191a64ea81e9eb50ee7355c7aec7.zip
cpython-c873550737cf191a64ea81e9eb50ee7355c7aec7.tar.gz
cpython-c873550737cf191a64ea81e9eb50ee7355c7aec7.tar.bz2
Stupid me. Py_RETURN_NAN should actually return something ...
Diffstat (limited to 'Include/floatobject.h')
-rw-r--r--Include/floatobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h
index 91814f2..84398c2 100644
--- a/Include/floatobject.h
+++ b/Include/floatobject.h
@@ -22,7 +22,7 @@ PyAPI_DATA(PyTypeObject) PyFloat_Type;
#define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type)
#ifdef Py_NAN
-#define Py_RETURN_NAN PyFloat_FromDouble(Py_NAN)
+#define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN)
#endif
#define Py_RETURN_INF(sign) do \