]> granicus.if.org Git - python/commitdiff
fix indentation
authorBenjamin Peterson <benjamin@python.org>
Tue, 13 Mar 2012 21:13:09 +0000 (16:13 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 13 Mar 2012 21:13:09 +0000 (16:13 -0500)
Modules/mathmodule.c

index 29c32a30d84e54d9b41ef3bcaeb378b7ed7b6cbe..2c4cc7331b71fdcf345f4722e79d75c0f16c4257 100644 (file)
@@ -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 */