/external/python/cpython3/Lib/ |
D | types.py | 161 def __init__(self, fget=None, fset=None, fdel=None, doc=None): argument 164 self.fdel = fdel 186 if self.fdel is None: 188 self.fdel(instance) 192 result = type(self)(fget, self.fset, self.fdel, fdoc or self.__doc__) 197 result = type(self)(self.fget, fset, self.fdel, self.__doc__) 201 def deleter(self, fdel): argument 202 result = type(self)(self.fget, self.fset, fdel, self.__doc__)
|
/external/python/cpython3/Objects/clinic/ |
D | descrobject.c.h | 69 PyObject *fdel, PyObject *doc); 83 PyObject *fdel = NULL; in property_init() local 106 fdel = fastargs[2]; in property_init() 113 return_value = property_init_impl((propertyobject *)self, fget, fset, fdel, doc); in property_init()
|
/external/python/cpython2/Doc/howto/ |
D | descriptor.rst | 199 property(fget=None, fset=None, fdel=None, doc=None) -> property attribute 215 def __init__(self, fget=None, fset=None, fdel=None, doc=None): 218 self.fdel = fdel 236 if self.fdel is None: 238 self.fdel(obj) 241 return type(self)(fget, self.fset, self.fdel, self.__doc__) 244 return type(self)(self.fget, fset, self.fdel, self.__doc__) 246 def deleter(self, fdel): 247 return type(self)(self.fget, self.fset, fdel, self.__doc__)
|
/external/python/cpython3/Lib/test/ |
D | pydocfodder.py | 117 A_property = property(fdel=_delx, fget=_getx, fset=_setx,
|
D | test_enum.py | 125 def __init__(self, fget=None, fset=None, fdel=None, doc=None): argument 128 self.fdel = fdel
|
D | test_descr.py | 2255 self.assertIs(raw.fdel, C.__dict__['delx'])
|
/external/python/cpython2/Lib/test/ |
D | pydocfodder.py | 117 A_property = property(fdel=_delx, fget=_getx, fset=_setx,
|
D | test_descr.py | 2172 self.assertIs(raw.fdel, C.__dict__['delx'])
|
/external/python/cpython3/Objects/ |
D | descrobject.c | 1679 PyObject *fdel, PyObject *doc) in property_init_impl() argument 1686 if (fdel == Py_None) in property_init_impl() 1687 fdel = NULL; in property_init_impl() 1691 Py_XINCREF(fdel); in property_init_impl() 1696 Py_XSETREF(self->prop_del, fdel); in property_init_impl()
|
/external/python/cpython3/Doc/howto/ |
D | descriptor.rst | 910 property(fget=None, fset=None, fdel=None, doc=None) -> property 930 def __init__(self, fget=None, fset=None, fdel=None, doc=None): 933 self.fdel = fdel 951 if self.fdel is None: 953 self.fdel(obj) 956 return type(self)(fget, self.fset, self.fdel, self.__doc__) 959 return type(self)(self.fget, fset, self.fdel, self.__doc__) 961 def deleter(self, fdel): 962 return type(self)(self.fget, self.fset, fdel, self.__doc__)
|
/external/python/cpython2/Doc/library/ |
D | abc.rst | 168 .. function:: abstractproperty([fget[, fset[, fdel[, doc]]]])
|
D | functions.rst | 1004 .. class:: property([fget[, fset[, fdel[, doc]]]]) 1010 for setting an attribute value. *fdel* is a function for deleting an attribute 1077 ``fdel`` corresponding to the constructor arguments.
|
/external/python/cpython3/Doc/library/ |
D | types.rst | 401 .. function:: DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None)
|
D | functions.rst | 1343 .. class:: property(fget=None, fset=None, fdel=None, doc=None) 1348 for setting an attribute value. *fdel* is a function for deleting an attribute 1415 ``fdel`` corresponding to the constructor arguments.
|
/external/python/cpython2/Misc/ |
D | HISTORY | 6678 - property() now takes 4 keyword arguments: fget, fset, fdel and doc. 6679 These map to read-only attributes 'fget', 'fset', 'fdel', and '__doc__' 6680 in the constructed property object. fget, fset and fdel weren't
|
/external/python/cpython3/Misc/ |
D | HISTORY | 24057 - property() now takes 4 keyword arguments: fget, fset, fdel and doc. 24058 These map to read-only attributes 'fget', 'fset', 'fdel', and '__doc__' 24059 in the constructed property object. fget, fset and fdel weren't
|