Kaydet (Commit) ad98db1d authored tarafından Guido van Rossum's avatar Guido van Rossum

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

some code for longer than needed.
üst 8fcd4b5a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment