Stupid me. Py_RETURN_NAN should actually return something ...

This commit is contained in:
Christian Heimes 2008-04-18 23:49:11 +00:00
parent 81ad6a185a
commit c873550737
1 changed files with 1 additions and 1 deletions

View File

@ -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 \