Fix a mis-indentation in _PyUnicode_New() that caused me to stare at
some code for longer than needed.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3b4347b..4bb8fb2 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -183,10 +183,10 @@
goto onError;
}
}
- else {
+ else {
unicode->str = PyMem_NEW(Py_UNICODE, length + 1);
- }
- PyObject_INIT(unicode, &PyUnicode_Type);
+ }
+ PyObject_INIT(unicode, &PyUnicode_Type);
}
else {
unicode = PyObject_NEW(PyUnicodeObject, &PyUnicode_Type);