diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-09-28 21:58:57 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-09-28 21:58:57 (GMT) |
commit | 2aa2b3b4d5228a36580937ce1b291e89e710bdff (patch) | |
tree | f93976fe758d747737bf5180b519557e0ed9110a /Include/floatobject.h | |
parent | 48a2f8fd972205688a1011348100bdb482c81836 (diff) | |
download | cpython-2aa2b3b4d5228a36580937ce1b291e89e710bdff.zip cpython-2aa2b3b4d5228a36580937ce1b291e89e710bdff.tar.gz cpython-2aa2b3b4d5228a36580937ce1b291e89e710bdff.tar.bz2 |
Clean up a few tabs that went in with PEP393.
Diffstat (limited to 'Include/floatobject.h')
-rw-r--r-- | Include/floatobject.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Include/floatobject.h b/Include/floatobject.h index 243914b..0ca4881 100644 --- a/Include/floatobject.h +++ b/Include/floatobject.h @@ -27,12 +27,12 @@ PyAPI_DATA(PyTypeObject) PyFloat_Type; #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 @@ PyAPI_FUNC(int) PyFloat_ClearFreeList(void); /* 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 |