diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-01-17 19:44:46 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-01-17 19:44:46 (GMT) |
commit | 0dd5ca088217c32a89629a2e17a9548ec1659856 (patch) | |
tree | a18bcdf5a46a09bdd45865dffdb254eec0f5d0c9 /Objects | |
parent | 67641d25d4b2ba4f49fb597cf81993333e9b0750 (diff) | |
download | cpython-0dd5ca088217c32a89629a2e17a9548ec1659856.zip cpython-0dd5ca088217c32a89629a2e17a9548ec1659856.tar.gz cpython-0dd5ca088217c32a89629a2e17a9548ec1659856.tar.bz2 |
correct assertion
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 325b825..03d9134 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 *); |