diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-03-13 21:13:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-03-13 21:13:09 (GMT) |
commit | 2354a7593f0e006c60d2080dca40579461549cb9 (patch) | |
tree | b730935549fa85f6b8a1988fb1f3ddd788d5f674 /Modules | |
parent | 69437da15fb4f626290af0d60bf8d90c5869b828 (diff) | |
download | cpython-2354a7593f0e006c60d2080dca40579461549cb9.zip cpython-2354a7593f0e006c60d2080dca40579461549cb9.tar.gz cpython-2354a7593f0e006c60d2080dca40579461549cb9.tar.bz2 |
fix indentation
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mathmodule.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 29c32a3..2c4cc73 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -694,13 +694,13 @@ math_1_to_whatever(PyObject *arg, double (*func) (double), 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 */ |