mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
remove unneeded assertion
This commit is contained in:
parent
0dd5ca0882
commit
37b9e46a04
1 changed files with 0 additions and 1 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue