From: A.M. K. <aku...@us...> - 2001-12-03 20:55:41
|
Update of /cvsroot/py-howto/pyhowto In directory usw-pr-cvs1:/tmp/cvs-serv11481 Modified Files: python-22.tex Log Message: Add __delete__ method of properties Reflow paragraph Index: python-22.tex =================================================================== RCS file: /cvsroot/py-howto/pyhowto/python-22.tex,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -r1.48 -r1.49 *** python-22.tex 2001/11/26 18:15:44 1.48 --- python-22.tex 2001/12/03 20:55:37 1.49 *************** *** 211,219 **** \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{__set__(\var{object}, \var{value})} sets the attribute on \var{object} to \var{value}. \end{itemize} --- 211,222 ---- \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{__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} |