commit | 334b5b20f284ff4b44cfe3a035e1654b23390028 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Mar 26 03:11:29 2006 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Mar 26 03:11:29 2006 +0000 |
tree | 00ca8212097dbba7b4b4bd2d83ce900daa051239 | |
parent | e2ac4abd016310b0ce1152ccf65666b98e33a76e [diff] |
Tighten an overbroad and misleading assertion. (Reported by Jim Jewett.)
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 @@ } #ifdef Py_DEBUG else - assert(entry->key == NULL || entry->key == dummy); + assert(entry->key == NULL); #endif }