summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-12-03 20:55:37 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-12-03 20:55:37 (GMT)
commit9455df2a5a628d9ca3578624df6e82f6d7404c1e (patch)
treeb629bf5cdbe3b363b612fb6ef94de6c1c1c0cf5a /Doc/whatsnew
parentc8996f59654297583c0a748763fdb993886dd316 (diff)
downloadcpython-9455df2a5a628d9ca3578624df6e82f6d7404c1e.zip
cpython-9455df2a5a628d9ca3578624df6e82f6d7404c1e.tar.gz
cpython-9455df2a5a628d9ca3578624df6e82f6d7404c1e.tar.bz2
Add __delete__ method of properties
Reflow paragraph
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew22.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/whatsnew/whatsnew22.tex b/Doc/whatsnew/whatsnew22.tex
index 6984e29..7d3a0d8 100644
--- a/Doc/whatsnew/whatsnew22.tex
+++ b/Doc/whatsnew/whatsnew22.tex
@@ -210,11 +210,14 @@ have a few attributes of their own:
\item \member{__doc__} is the attribute's docstring.
-\item \method{__get__(\var{object})} is a method that retrieves the attribute value from \var{object}.
+\item \method{__get__(\var{object})} is a method that retrieves the
+attribute value from \var{object}.
\item \method{__set__(\var{object}, \var{value})} sets the attribute
on \var{object} to \var{value}.
+\item \method{__delete__(\var{object})} deletes the \var{value}
+attribute of \var{object}.
\end{itemize}
For example, when you write \code{obj.x}, the steps that Python