Mercurial > cpython-lru_cache-weakref
diff Include/floatobject.h @ 72504:950678c769e6
Clean up a few tabs that went in with PEP393.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Thu, 29 Sep 2011 00:58:57 +0300 |
| parents | 8beaa9a37387 |
| children | 22b56b0b8619 |
line wrap: on
line diff
--- a/Include/floatobject.h Thu Sep 29 00:18:19 2011 +0300 +++ b/Include/floatobject.h Thu Sep 29 00:58:57 2011 +0300 @@ -27,12 +27,12 @@ #define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN) #endif -#define Py_RETURN_INF(sign) do \ - if (copysign(1., sign) == 1.) { \ - return PyFloat_FromDouble(Py_HUGE_VAL); \ - } else { \ - return PyFloat_FromDouble(-Py_HUGE_VAL); \ - } while(0) +#define Py_RETURN_INF(sign) do \ + if (copysign(1., sign) == 1.) { \ + return PyFloat_FromDouble(Py_HUGE_VAL); \ + } else { \ + return PyFloat_FromDouble(-Py_HUGE_VAL); \ + } while(0) PyAPI_FUNC(double) PyFloat_GetMax(void); PyAPI_FUNC(double) PyFloat_GetMin(void); @@ -113,9 +113,9 @@ /* Format the object based on the format_spec, as defined in PEP 3101 (Advanced String Formatting). */ PyAPI_FUNC(PyObject *) _PyFloat_FormatAdvanced(PyObject *obj, - PyObject *format_spec, - Py_ssize_t start, - Py_ssize_t end); + PyObject *format_spec, + Py_ssize_t start, + Py_ssize_t end); #endif /* Py_LIMITED_API */ #ifdef __cplusplus
