The slot definition table entry for mp_getitem had a bogus wrapper

function, which caused test_minidom to fail.  Fixed this.
This commit is contained in:
Guido van Rossum 2001-10-09 20:17:57 +00:00
parent 53f8fe4232
commit fd38f8e638
1 changed files with 2 additions and 1 deletions

View File

@ -3723,7 +3723,8 @@ static slotdef slotdefs[] = {
wrap_intargfunc), wrap_intargfunc),
MPSLOT("__len__", mp_length, slot_mp_length, wrap_inquiry), MPSLOT("__len__", mp_length, slot_mp_length, wrap_inquiry),
MPSLOT("__getitem__", mp_subscript, slot_mp_subscript, wrap_sq_item), MPSLOT("__getitem__", mp_subscript, slot_mp_subscript,
wrap_binaryfunc),
MPSLOT("__setitem__", mp_ass_subscript, slot_mp_ass_subscript, MPSLOT("__setitem__", mp_ass_subscript, slot_mp_ass_subscript,
wrap_objobjargproc), wrap_objobjargproc),
MPSLOT("__delitem__", mp_ass_subscript, slot_mp_ass_subscript, MPSLOT("__delitem__", mp_ass_subscript, slot_mp_ass_subscript,