summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-01-17 19:54:55 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-01-17 19:54:55 (GMT)
commit37b9e46a04452274b31db71d75b141af0b48997e (patch)
treec12420f008237cce4ca0f751bb97876ee2cf9de5 /Objects
parent0dd5ca088217c32a89629a2e17a9548ec1659856 (diff)
downloadcpython-37b9e46a04452274b31db71d75b141af0b48997e.zip
cpython-37b9e46a04452274b31db71d75b141af0b48997e.tar.gz
cpython-37b9e46a04452274b31db71d75b141af0b48997e.tar.bz2
remove unneeded assertion
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 03d9134..db7828a 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2946,7 +2946,6 @@ 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));
size = base->tp_basicsize;
if (a->tp_dictoffset == size && b->tp_dictoffset == size)
size += sizeof(PyObject *);