Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8996f5 commit 9455df2Copy full SHA for 9455df2
1 file changed
Doc/whatsnew/whatsnew22.tex
@@ -210,11 +210,14 @@ \subsection{Descriptors}
210
211
\item \member{__doc__} is the attribute's docstring.
212
213
-\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
214
+attribute value from \var{object}.
215
216
\item \method{__set__(\var{object}, \var{value})} sets the attribute
217
on \var{object} to \var{value}.
218
219
+\item \method{__delete__(\var{object})} deletes the \var{value}
220
+attribute of \var{object}.
221
\end{itemize}
222
223
For example, when you write \code{obj.x}, the steps that Python
0 commit comments