From: Benjamin Peterson Date: Mon, 17 Jan 2011 19:44:46 +0000 (+0000) Subject: correct assertion X-Git-Tag: v3.2rc2~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dd5ca088217c32a89629a2e17a9548ec1659856;p=thirdparty%2FPython%2Fcpython.git correct assertion --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 325b8254b5d5..03d9134d69c9 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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 *);