Searched refs:slotnames (Results 1 – 2 of 2) sorted by relevance
37 slotnames = cls.__slot_names__39 slotnames = cls.__slot_names__ = []40 slotnames.append(name)41 self._ensure___del__(cls, slotnames)70 def _ensure___del__(self, cls, slotnames): # See the comment in __init__(). argument80 for name in slotnames:
4837 PyObject *slotnames; in _PyType_GetSlotNames() local4844 slotnames = _PyDict_GetItemIdWithError(cls->tp_dict, &PyId___slotnames__); in _PyType_GetSlotNames()4845 if (slotnames != NULL) { in _PyType_GetSlotNames()4846 if (slotnames != Py_None && !PyList_Check(slotnames)) { in _PyType_GetSlotNames()4850 cls->tp_name, Py_TYPE(slotnames)->tp_name); in _PyType_GetSlotNames()4853 Py_INCREF(slotnames); in _PyType_GetSlotNames()4854 return slotnames; in _PyType_GetSlotNames()4870 slotnames = _PyObject_CallMethodIdOneArg(copyreg, &PyId__slotnames, in _PyType_GetSlotNames()4873 if (slotnames == NULL) in _PyType_GetSlotNames()4876 if (slotnames != Py_None && !PyList_Check(slotnames)) { in _PyType_GetSlotNames()[all …]