[Python-checkins] cpython (3.2): fix indentation

benjamin.peterson python-checkins at python.org
Tue Mar 13 22:46:48 CET 2012


http://hg.python.org/cpython/rev/692efd6ac771
changeset:   75604:692efd6ac771
branch:      3.2
parent:      75588:397215db7be1
user:        Benjamin Peterson <benjamin at python.org>
date:        Tue Mar 13 16:13:09 2012 -0500
summary:
  fix indentation

files:
  Modules/mathmodule.c |  14 +++++++-------
  1 files changed, 7 insertions(+), 7 deletions(-)


diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -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 */

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list