Commit 334b5b20 authored by Raymond Hettinger's avatar Raymond Hettinger

Tighten an overbroad and misleading assertion.

(Reported by Jim Jewett.)
parent e2ac4abd
...@@ -445,7 +445,7 @@ set_clear_internal(PySetObject *so) ...@@ -445,7 +445,7 @@ set_clear_internal(PySetObject *so)
} }
#ifdef Py_DEBUG #ifdef Py_DEBUG
else else
assert(entry->key == NULL || entry->key == dummy); assert(entry->key == NULL);
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment