diff options
author | Raymond Hettinger <python@rcn.com> | 2006-03-26 03:11:29 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2006-03-26 03:11:29 (GMT) |
commit | 334b5b20f284ff4b44cfe3a035e1654b23390028 (patch) | |
tree | 00ca8212097dbba7b4b4bd2d83ce900daa051239 /Objects/setobject.c | |
parent | e2ac4abd016310b0ce1152ccf65666b98e33a76e (diff) | |
download | cpython-334b5b20f284ff4b44cfe3a035e1654b23390028.zip cpython-334b5b20f284ff4b44cfe3a035e1654b23390028.tar.gz cpython-334b5b20f284ff4b44cfe3a035e1654b23390028.tar.bz2 |
Tighten an overbroad and misleading assertion.
(Reported by Jim Jewett.)
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index ed3d190..3541ff1 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -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 } |