Skip to content

Commit 897bdec

Browse files
committed
Update
1 parent d74be81 commit 897bdec

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Objects/dictobject.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4148,14 +4148,6 @@ dict_dict_merge(PyDictObject *mp, PyDictObject *other, int override, PyObject **
41484148
STORE_USED(mp, other->ma_used);
41494149
ASSERT_CONSISTENT(mp);
41504150

4151-
if (_PyObject_GC_IS_TRACKED(other) && !_PyObject_GC_IS_TRACKED(mp)
4152-
&& !PyFrozenDict_Check(mp)) {
4153-
/* Maintain tracking. A frozendict is left untracked while it is
4154-
built and GC-tracked once by its constructor when fully
4155-
built, so don't track it here. */
4156-
_PyObject_GC_TRACK(mp);
4157-
}
4158-
41594151
return 0;
41604152
}
41614153
}

0 commit comments

Comments
 (0)