/external/python/cpython3/Lib/ |
D | types.py | 154 def __init__(self, fget=None, fset=None, fdel=None, doc=None): argument 157 self.fdel = fdel 179 if self.fdel is None: 181 self.fdel(instance) 185 result = type(self)(fget, self.fset, self.fdel, fdoc or self.__doc__) 190 result = type(self)(self.fget, fset, self.fdel, self.__doc__) 194 def deleter(self, fdel): argument 195 result = type(self)(self.fget, self.fset, fdel, self.__doc__)
|
/external/python/cpython3/Objects/clinic/ |
D | descrobject.c.h | 65 PyObject *fdel, PyObject *doc); 75 PyObject *fdel = NULL; in property_init() local 79 &fget, &fset, &fdel, &doc)) { in property_init() 82 return_value = property_init_impl((propertyobject *)self, fget, fset, fdel, doc); in property_init()
|
/external/python/cpython3/Doc/howto/ |
D | descriptor.rst | 193 property(fget=None, fset=None, fdel=None, doc=None) -> property attribute 209 def __init__(self, fget=None, fset=None, fdel=None, doc=None): 212 self.fdel = fdel 230 if self.fdel is None: 232 self.fdel(obj) 235 return type(self)(fget, self.fset, self.fdel, self.__doc__) 238 return type(self)(self.fget, fset, self.fdel, self.__doc__) 240 def deleter(self, fdel): 241 return type(self)(self.fget, self.fset, fdel, self.__doc__)
|
/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/Objects/ |
D | descrobject.c | 1469 PyObject *fdel, PyObject *doc) in property_init_impl() argument 1476 if (fdel == Py_None) in property_init_impl() 1477 fdel = NULL; in property_init_impl() 1481 Py_XINCREF(fdel); in property_init_impl() 1486 Py_XSETREF(self->prop_del, fdel); in property_init_impl()
|
/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/Lib/test/ |
D | pydocfodder.py | 117 A_property = property(fdel=_delx, fget=_getx, fset=_setx,
|
D | test_enum.py | 127 def __init__(self, fget=None, fset=None, fdel=None, doc=None): argument 130 self.fdel = fdel
|
D | test_descr.py | 2204 self.assertIs(raw.fdel, C.__dict__['delx'])
|
/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 | 340 .. function:: DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None)
|
D | functions.rst | 1243 .. class:: property(fget=None, fset=None, fdel=None, doc=None) 1248 for setting an attribute value. *fdel* is a function for deleting an attribute 1315 ``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
|