Kaydet (Commit) 37b9e46a authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove unneeded assertion

üst 0dd5ca08
......@@ -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 *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment