Kaydet (Commit) fd38f8e6 authored tarafından 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.
üst 53f8fe42
......@@ -3723,7 +3723,8 @@ static slotdef slotdefs[] = {
wrap_intargfunc),
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,
wrap_objobjargproc),
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