Lines Matching refs:slots
567 PyType_Slot slots[8];
581 slots[0] = (PyType_Slot){Py_tp_dealloc, (destructor)structseq_dealloc};
582 slots[1] = (PyType_Slot){Py_tp_repr, (reprfunc)structseq_repr};
583 slots[2] = (PyType_Slot){Py_tp_doc, (void *)desc->doc};
584 slots[3] = (PyType_Slot){Py_tp_methods, structseq_methods};
585 slots[4] = (PyType_Slot){Py_tp_new, structseq_new};
586 slots[5] = (PyType_Slot){Py_tp_members, members};
587 slots[6] = (PyType_Slot){Py_tp_traverse, (traverseproc)structseq_traverse};
588 slots[7] = (PyType_Slot){0, 0};
597 spec.slots = slots;