mirror of
https://github.com/python/cpython.git
synced 2025-11-08 21:52:45 +00:00
Merged revisions 88069 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88069 | benjamin.peterson | 2011-01-17 13:54:55 -0600 (Mon, 17 Jan 2011) | 1 line remove unneeded assertion ........
This commit is contained in:
parent
d82f45b720
commit
32a8fe8b56
1 changed files with 0 additions and 1 deletions
|
|
@ -2898,7 +2898,6 @@ same_slots_added(PyTypeObject *a, PyTypeObject *b)
|
||||||
PyObject *slots_a, *slots_b;
|
PyObject *slots_a, *slots_b;
|
||||||
|
|
||||||
assert(base == b->tp_base);
|
assert(base == b->tp_base);
|
||||||
assert(!equiv_structs(a, base) && !equiv_structs(b, base));
|
|
||||||
size = base->tp_basicsize;
|
size = base->tp_basicsize;
|
||||||
if (a->tp_dictoffset == size && b->tp_dictoffset == size)
|
if (a->tp_dictoffset == size && b->tp_dictoffset == size)
|
||||||
size += sizeof(PyObject *);
|
size += sizeof(PyObject *);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue