diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
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 |