summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-10-03 23:35:07 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-10-03 23:35:07 (GMT)
commit4bfce8f81f86bc0303fb049f6a68351742336aaa (patch)
tree7dc012185030eb78a413b351863146dec286821a
parentccc51c1fc6acb3ed9b957528c26287cac43ed942 (diff)
downloadcpython-4bfce8f81f86bc0303fb049f6a68351742336aaa.zip
cpython-4bfce8f81f86bc0303fb049f6a68351742336aaa.tar.gz
cpython-4bfce8f81f86bc0303fb049f6a68351742336aaa.tar.bz2
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 6d111bf..70529c6 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