Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d82f45b

Browse files
committed
Merged revisions 88066 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r88066 | benjamin.peterson | 2011-01-17 13:44:46 -0600 (Mon, 17 Jan 2011) | 1 line correct assertion ........
1 parent acd1759 commit d82f45b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2898,7 +2898,7 @@ same_slots_added(PyTypeObject *a, PyTypeObject *b)
28982898
PyObject *slots_a, *slots_b;
28992899

29002900
assert(base == b->tp_base);
2901-
assert(equiv_structs(a, base) && equiv_structs(b, base));
2901+
assert(!equiv_structs(a, base) && !equiv_structs(b, base));
29022902
size = base->tp_basicsize;
29032903
if (a->tp_dictoffset == size && b->tp_dictoffset == size)
29042904
size += sizeof(PyObject *);

0 commit comments

Comments
 (0)