Commit fd38f8e6 authored by Guido van Rossum's avatar Guido van Rossum

The slot definition table entry for mp_getitem had a bogus wrapper

function, which caused test_minidom to fail.  Fixed this.
parent 53f8fe42
...@@ -3723,7 +3723,8 @@ static slotdef slotdefs[] = { ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment