summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-10-03 19:35:07 -0400
committerBenjamin Peterson <benjamin@python.org>2011-10-03 19:35:07 -0400
commit4bfce8f81f86bc0303fb049f6a68351742336aaa (patch)
tree7dc012185030eb78a413b351863146dec286821a
parentccc51c1fc6acb3ed9b957528c26287cac43ed942 (diff)
downloadcpython-git-4bfce8f81f86bc0303fb049f6a68351742336aaa.tar.gz
fix formatting
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 6d111bf926..70529c6c92 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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