Tighten an overbroad and misleading assertion.
(Reported by Jim Jewett.)
This commit is contained in:
parent
e2ac4abd01
commit
334b5b20f2
|
@ -445,7 +445,7 @@ set_clear_internal(PySetObject *so)
|
|||
}
|
||||
#ifdef Py_DEBUG
|
||||
else
|
||||
assert(entry->key == NULL || entry->key == dummy);
|
||||
assert(entry->key == NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue