Home
last modified time | relevance | path

Searched refs:slotnames (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Tools/c-analyzer/c_common/
Dclsutil.py37 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__(). argument
80 for name in slotnames:
/third_party/python/Objects/
Dtypeobject.c4837 PyObject *slotnames; in _PyType_GetSlotNames() local
4844 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 …]