Searched refs:prop_get (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Objects/ |
D | descrobject.c | 1151 PyObject *prop_get; member 1162 {"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY}, 1214 Py_XDECREF(gs->prop_get); in property_dealloc() 1230 if (gs->prop_get == NULL) { in property_descr_get() 1234 return PyObject_CallFunction(gs->prop_get, "(O)", obj); in property_descr_get() 1276 get = pold->prop_get ? pold->prop_get : Py_None; in property_copy() 1324 prop->prop_get = get; in property_init() 1390 Py_VISIT(pp->prop_get); in property_traverse()
|
/external/python/cpython3/Objects/ |
D | descrobject.c | 1255 PyObject *prop_get; member 1266 {"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY}, 1318 Py_XDECREF(gs->prop_get); in property_dealloc() 1337 if (gs->prop_get == NULL) { in property_descr_get() 1351 ret = PyObject_Call(gs->prop_get, args, NULL); in property_descr_get() 1405 get = pold->prop_get ? pold->prop_get : Py_None; in property_copy() 1484 Py_XSETREF(self->prop_get, fget); in property_init_impl() 1524 int res = _PyObject_IsAbstract(prop->prop_get); in property_get___isabstractmethod__() 1562 Py_VISIT(pp->prop_get); in property_traverse()
|