mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Merge f476012897 into 3db7bf2d18
This commit is contained in:
commit
9e727d12a2
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue