Skip to content

Commit 74d9462

Browse files
authored
Add comment clarifying what is happening to laststring
1 parent 0113148 commit 74d9462

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Objects/templateobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ template_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
153153
Py_DECREF(interpolations);
154154
return NULL;
155155
}
156+
/* Replace laststring with concat */
156157
PyTuple_SET_ITEM(strings, stringsidx - 1, concat);
157158
Py_DECREF(laststring);
158159
}

0 commit comments

Comments
 (0)