Kaydet (Commit) c8735507 authored tarafından Christian Heimes's avatar Christian Heimes

Stupid me. Py_RETURN_NAN should actually return something ...

üst 81ad6a18
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment