Lines Matching refs:fget
1477 def __init__(self, fget=None, fset=None, fdel=None, doc=None):
1478 if doc is None and fget is not None and hasattr(fget, "__doc__"):
1479 doc = fget.__doc__
1480 self.__get = fget
1518 {"fget", T_OBJECT, offsetof(propertyobject, prop_get), READONLY},
1736 fget: object(c_default="NULL") = None
1771 property_init_impl(propertyobject *self, PyObject *fget, PyObject *fset,
1775 if (fget == Py_None)
1776 fget = NULL;
1782 Py_XINCREF(fget);
1787 Py_XSETREF(self->prop_get, fget);
1796 if ((doc == NULL || doc == Py_None) && fget != NULL) {
1798 int rc = _PyObject_LookupAttr(fget, &_Py_ID(__doc__), &get_doc);