Mercurial > cpython-lru_cache-weakref
diff Modules/mathmodule.c @ 75604:692efd6ac771 3.2
fix indentation
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Tue, 13 Mar 2012 16:13:09 -0500 |
| parents | 3c9232a684ae |
| children | b4bfcf7a4773 b0d3b441f568 |
line wrap: on
line diff
--- a/Modules/mathmodule.c Tue Mar 13 12:18:19 2012 +0000 +++ b/Modules/mathmodule.c Tue Mar 13 16:13:09 2012 -0500 @@ -694,13 +694,13 @@ return NULL; } if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) { - if (can_overflow) - PyErr_SetString(PyExc_OverflowError, - "math range error"); /* overflow */ - else - PyErr_SetString(PyExc_ValueError, - "math domain error"); /* singularity */ - return NULL; + if (can_overflow) + PyErr_SetString(PyExc_OverflowError, + "math range error"); /* overflow */ + else + PyErr_SetString(PyExc_ValueError, + "math domain error"); /* singularity */ + return NULL; } if (Py_IS_FINITE(r) && errno && is_error(r)) /* this branch unnecessary on most platforms */
