Commit 8e35f7e2 authored by Stefan Behnel's avatar Stefan Behnel

Use correct "Py_mp_subscript" type slot for getitem() method instead of...

Use correct "Py_mp_subscript" type slot for getitem() method instead of "Py_mp_ass_subscript" (which is for assignments).
parent 0ec3c8c0
......@@ -1348,7 +1348,7 @@ static PyType_Slot __pyx_FusedFunctionType_slots[] = {
{Py_tp_members, (void *)__pyx_FusedFunction_members},
{Py_tp_getset, (void *)__pyx_CyFunction_getsets},
{Py_tp_descr_get, (void *)__pyx_FusedFunction_descr_get},
{Py_mp_ass_subscript, (void *)__pyx_FusedFunction_getitem},
{Py_mp_subscript, (void *)__pyx_FusedFunction_getitem},
{0, 0},
};
......
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