summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-03-13 16:13:09 -0500
committerBenjamin Peterson <benjamin@python.org>2012-03-13 16:13:09 -0500
commit2354a7593f0e006c60d2080dca40579461549cb9 (patch)
treeb730935549fa85f6b8a1988fb1f3ddd788d5f674 /Modules/mathmodule.c
parent69437da15fb4f626290af0d60bf8d90c5869b828 (diff)
downloadcpython-git-2354a7593f0e006c60d2080dca40579461549cb9.tar.gz
fix indentation
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 29c32a30d8..2c4cc7331b 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 */