“Descriptors” are objects that describe some attribute of an object. They are found in the dictionary of type objects.
PyProperty_Type¶The type object for the built-in descriptor types.
PyDescr_NewGetSet(PyTypeObject *type, struct PyGetSetDef *getset)¶PyDescr_NewMember(PyTypeObject *type, struct PyMemberDef *meth)¶PyDescr_NewMethod(PyTypeObject *type, struct PyMethodDef *meth)¶PyDescr_NewWrapper(PyTypeObject *type, struct wrapperbase *wrapper, void *wrapped)¶PyDescr_NewClassMethod(PyTypeObject *type, PyMethodDef *method)¶