Skip to content

Commit 8297c8a

Browse files
authored
Update Modules/_elementtree.c
1 parent cef5146 commit 8297c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_elementtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ _elementtree_Element___deepcopy___impl(ElementObject *self, PyObject *memo)
822822

823823
if (self->extra && self->extra->attrib) {
824824
tmp = Py_NewRef(self->extra->attrib);
825-
attrib = deepcopy(st, self->extra->attrib, memo);
825+
attrib = deepcopy(st, tmp, memo);
826826
Py_DECREF(tmp);
827827
if (!attrib) {
828828
Py_DECREF(tag);

0 commit comments

Comments
 (0)