]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix formatting
authorBenjamin Peterson <benjamin@python.org>
Mon, 3 Oct 2011 23:35:07 +0000 (19:35 -0400)
committerBenjamin Peterson <benjamin@python.org>
Mon, 3 Oct 2011 23:35:07 +0000 (19:35 -0400)
Objects/unicodeobject.c

index 6d111bf9267add89a4b7b0339395772eeab8015b..70529c6c92c80198def6cb2b489032408ceb255e 100644 (file)
@@ -1362,8 +1362,8 @@ unicode_resize(PyObject **p_unicode, Py_ssize_t length)
             return -1;
         _PyUnicode_CheckConsistency(*p_unicode);
         return 0;
-    } else
-        return resize_inplace((PyUnicodeObject*)unicode, length);
+    }
+    return resize_inplace((PyUnicodeObject*)unicode, length);
 }
 
 int