Skip to content

Commit 5f8b1f2

Browse files
authored
Update Objects/setobject.c
1 parent d12102c commit 5f8b1f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Objects/setobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,6 @@ PySet_Add(PyObject *anyset, PyObject *key)
30383038
// API limits the usage of `PySet_Add` to "fill in the values of brand
30393039
// new frozensets before they are exposed to other code". In this case,
30403040
// this can be done without a lock.
3041-
30423041
// since another key is added to the set, we must track the frozenset if needed
30433042
if (PyFrozenSet_CheckExact(anyset) && PyObject_GC_IsTracked(key) && !PyObject_GC_IsTracked(anyset) ) {
30443043
_PyObject_GC_TRACK(anyset);

0 commit comments

Comments
 (0)