Skip to content

Commit 38a868c

Browse files
committed
drop the assertion
1 parent fe37499 commit 38a868c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Objects/setobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ set_add_entry_takeref(PySetObject *so, PyObject *key, Py_hash_t hash)
142142
size_t i; /* Unsigned for defined overflow behavior */
143143
int probes;
144144
int cmp;
145-
assert(PySet_CheckExact(so) || PyFrozenSet_CheckExact(so));
146145

147146
restart:
148147

0 commit comments

Comments
 (0)