Home
last modified time | relevance | path

Searched refs:fdel (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/
Dtypes.py161 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/
Ddescrobject.c.h69 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/
Ddescriptor.rst199 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/
Dpydocfodder.py117 A_property = property(fdel=_delx, fget=_getx, fset=_setx,
Dtest_enum.py125 def __init__(self, fget=None, fset=None, fdel=None, doc=None): argument
128 self.fdel = fdel
Dtest_descr.py2255 self.assertIs(raw.fdel, C.__dict__['delx'])
/external/python/cpython2/Lib/test/
Dpydocfodder.py117 A_property = property(fdel=_delx, fget=_getx, fset=_setx,
Dtest_descr.py2172 self.assertIs(raw.fdel, C.__dict__['delx'])
/external/python/cpython3/Objects/
Ddescrobject.c1679 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/
Ddescriptor.rst910 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/
Dabc.rst168 .. function:: abstractproperty([fget[, fset[, fdel[, doc]]]])
Dfunctions.rst1004 .. 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/
Dtypes.rst401 .. function:: DynamicClassAttribute(fget=None, fset=None, fdel=None, doc=None)
Dfunctions.rst1343 .. 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/
DHISTORY6678 - 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/
DHISTORY24057 - 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