mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Stupid me. Py_RETURN_NAN should actually return something ...
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user