Fix a mis-indentation in _PyUnicode_New() that caused me to stare at

some code for longer than needed.
This commit is contained in:
Guido van Rossum 2001-06-14 17:52:02 +00:00
parent 8fcd4b5ab3
commit ad98db1d9e
1 changed files with 3 additions and 3 deletions

View File

@ -183,10 +183,10 @@ PyUnicodeObject *_PyUnicode_New(int length)
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);