diff options
author | Christian Heimes <christian@cheimes.de> | 2008-04-18 23:49:11 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-04-18 23:49:11 (GMT) |
commit | c873550737cf191a64ea81e9eb50ee7355c7aec7 (patch) | |
tree | 8b41f7f553b9057e57573d81611c5d548a45a8c2 /Include/floatobject.h | |
parent | 81ad6a185aec0f6d146151e9eaee68b19fa7880e (diff) | |
download | cpython-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.h | 2 |
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 \ |