diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-01-17 19:54:55 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-01-17 19:54:55 (GMT) |
commit | 37b9e46a04452274b31db71d75b141af0b48997e (patch) | |
tree | c12420f008237cce4ca0f751bb97876ee2cf9de5 /Objects | |
parent | 0dd5ca088217c32a89629a2e17a9548ec1659856 (diff) | |
download | cpython-37b9e46a04452274b31db71d75b141af0b48997e.zip cpython-37b9e46a04452274b31db71d75b141af0b48997e.tar.gz cpython-37b9e46a04452274b31db71d75b141af0b48997e.tar.bz2 |
remove unneeded assertion
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 1 |
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 *); |