diff options
author | Michael W. Hudson <mwh@python.net> | 2003-03-05 14:20:58 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2003-03-05 14:20:58 (GMT) |
commit | 2ab1d08f90fbe427db08cff00350ea85ab8b414f (patch) | |
tree | c4337c7fa92f1bc3121ea71771c6358a7168da92 /Doc | |
parent | 7a924e6eb28ac0b18231a3f4ed1101c78be2c2ba (diff) | |
download | cpython-2ab1d08f90fbe427db08cff00350ea85ab8b414f.zip cpython-2ab1d08f90fbe427db08cff00350ea85ab8b414f.tar.gz cpython-2ab1d08f90fbe427db08cff00350ea85ab8b414f.tar.bz2 |
I thought it was common practice to check things compiled before
checking them in? Oh well, this fixes various obvious mistakes and
changes a subsubsubsection (which doesn't exist) into a subsubsection
(which does). I'm not sure this matches the intent, but it seems to
read OK on a quick skim.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ref/ref3.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index 874fe10..c83e26a 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -1199,7 +1199,7 @@ assignment. This should only be implemented if \samp{del obj.\var{name}} is meaningful for the object. \end{methoddesc} -\subsubsection{More attribute access for new-style classes \lable{new-style-attribute-access}} +\subsubsection{More attribute access for new-style classes \label{new-style-attribute-access}} The following methods only apply to new-style classes. @@ -1215,7 +1215,7 @@ name to access any attributes it needs to access, for example, \samp{object.__getattribute__(self, name)}. \end{methoddesc} -\subsubsubsection{Implementing Descriptors \label{descriptors}} +\subsubsection{Implementing Descriptors \label{descriptors}} The following methods only apply when an instance of the class containing the method (a so-called \emph{descriptor} class) is in @@ -1235,13 +1235,13 @@ return the (computed) attribute value or raise an \end{methoddesc} \begin{methoddesc}[object]{__set__}{self, instance, value} -Called to set the attribute on an instance \{instance} of the owner +Called to set the attribute on an instance \var{instance} of the owner class to a new value, \var{value}. \end{methoddesc} \begin{methoddesc}[object]{__delete__}{self, instance} -Called to delete the attribute on an instance \{instance} of the owner -class. +Called to delete the attribute on an instance \var{instance} of the +owner class. \end{methoddesc} |