mirror of https://github.com/python/cpython.git
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:
parent
53f8fe4232
commit
fd38f8e638
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue