commit | c873550737cf191a64ea81e9eb50ee7355c7aec7 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Fri Apr 18 23:49:11 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Fri Apr 18 23:49:11 2008 +0000 |
tree | 8b41f7f553b9057e57573d81611c5d548a45a8c2 | |
parent | 81ad6a185aec0f6d146151e9eaee68b19fa7880e [diff] |
Stupid me. Py_RETURN_NAN should actually return something ...
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 @@ #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 \