This commit is contained in:
AZero13 2025-12-08 00:22:41 -05:00 committed by GitHub
commit 9e727d12a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,7 +148,6 @@ template_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
if (last_was_str) {
PyObject *laststring = PyTuple_GET_ITEM(strings, stringsidx - 1);
PyObject *concat = PyUnicode_Concat(laststring, item);
Py_DECREF(laststring);
if (!concat) {
Py_DECREF(strings);
Py_DECREF(interpolations);