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 46332fbb81..cb4813f902 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -536,7 +536,8 @@ resize_copy(PyObject *unicode, Py_ssize_t length) return NULL; } return copy; - } else { + } + else { PyUnicodeObject *w; assert(_PyUnicode_WSTR(unicode) != NULL); assert(_PyUnicode_DATA_ANY(unicode) == NULL); @@ -1294,7 +1295,6 @@ unicode_resize(PyObject **p_unicode, Py_ssize_t length) if (old_length == length) return 0; - /* FIXME: really create a new object? */ if (!unicode_resizable(unicode)) { PyObject *copy = resize_copy(unicode, length); if (copy == NULL) |