Fix a mis-indentation in _PyUnicode_New() that caused me to stare at
some code for longer than needed.
This commit is contained in:
parent
8fcd4b5ab3
commit
ad98db1d9e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue