Home
last modified time | relevance | path

Searched refs:d_member (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Include/
Ddescrobject.h56 struct PyMemberDef *d_member; member
/external/python/cpython3/Include/
Ddescrobject.h61 struct PyMemberDef *d_member; member
/external/python/cpython3/Objects/
Ddescrobject.c167 if (descr->d_member->flags & READ_RESTRICTED) { in member_get()
169 obj ? obj : Py_None, descr->d_member->name) < 0) { in member_get()
174 return PyMember_GetOne((char *)obj, descr->d_member); in member_get()
228 return PyMember_SetOne((char *)obj, descr->d_member, value); in member_set()
638 if (descr->d_member->doc == NULL) { in member_get_doc()
641 return PyUnicode_FromString(descr->d_member->doc); in member_get_doc()
968 descr->d_member = member; in PyDescr_NewMember()
/external/python/cpython2/Objects/
Ddescrobject.c135 return PyMember_GetOne((char *)obj, descr->d_member); in member_get()
189 return PyMember_SetOne((char *)obj, descr->d_member, value); in member_set()
373 if (descr->d_member->doc == NULL) { in member_get_doc()
377 return PyString_FromString(descr->d_member->doc); in member_get_doc()
659 descr->d_member = member; in PyDescr_NewMember()