changeset 67648:df8b6a2bdddd

correct assertion
author Benjamin Peterson <benjamin@python.org>
date Mon, 17 Jan 2011 19:44:46 +0000
parents 3674dcb41a94
children a78c6d0c3f69
files Objects/typeobject.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Objects/typeobject.c	Mon Jan 17 19:24:34 2011 +0000
+++ b/Objects/typeobject.c	Mon Jan 17 19:44:46 2011 +0000
@@ -2946,7 +2946,7 @@
     PyObject *slots_a, *slots_b;
 
     assert(base == b->tp_base);
-    assert(equiv_structs(a, base) && equiv_structs(b, base));
+    assert(!equiv_structs(a, base) && !equiv_structs(b, base));
     size = base->tp_basicsize;
     if (a->tp_dictoffset == size && b->tp_dictoffset == size)
         size += sizeof(PyObject *);