correct assertion

This commit is contained in:
Benjamin Peterson 2011-01-17 19:44:46 +00:00
parent 67641d25d4
commit 0dd5ca0882
1 changed files with 1 additions and 1 deletions

View File

@ -2946,7 +2946,7 @@ same_slots_added(PyTypeObject *a, PyTypeObject *b)
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 *);