diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-01-17 19:46:48 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-01-17 19:46:48 (GMT) |
commit | d82f45b72099543dc7bb43bd62bbfd27f624b1ed (patch) | |
tree | e2efb002d5f0287129d4430eaf7c6d5797c87653 /Objects/typeobject.c | |
parent | acd17591f5d4a41106f62008bab5ea14d4b216da (diff) | |
download | cpython-d82f45b72099543dc7bb43bd62bbfd27f624b1ed.zip cpython-d82f45b72099543dc7bb43bd62bbfd27f624b1ed.tar.gz cpython-d82f45b72099543dc7bb43bd62bbfd27f624b1ed.tar.bz2 |
Merged revisions 88066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88066 | benjamin.peterson | 2011-01-17 13:44:46 -0600 (Mon, 17 Jan 2011) | 1 line
correct assertion
........
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 974a402..cda5170 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2898,7 +2898,7 @@ 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)); + 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 *); |