Kaydet (Commit) 9455df2a authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Add __delete__ method of properties

Reflow paragraph
üst c8996f59
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment