Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ab1d08

Browse files
author
Michael W. Hudson
committed
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.
1 parent 7a924e6 commit 2ab1d08

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/ref/ref3.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ \subsection{Customizing attribute access\label{attribute-access}}
11991199
obj.\var{name}} is meaningful for the object.
12001200
\end{methoddesc}
12011201

1202-
\subsubsection{More attribute access for new-style classes \lable{new-style-attribute-access}}
1202+
\subsubsection{More attribute access for new-style classes \label{new-style-attribute-access}}
12031203

12041204
The following methods only apply to new-style classes.
12051205

@@ -1215,7 +1215,7 @@ \subsubsection{More attribute access for new-style classes \lable{new-style-attr
12151215
\samp{object.__getattribute__(self, name)}.
12161216
\end{methoddesc}
12171217

1218-
\subsubsubsection{Implementing Descriptors \label{descriptors}}
1218+
\subsubsection{Implementing Descriptors \label{descriptors}}
12191219

12201220
The following methods only apply when an instance of the class
12211221
containing the method (a so-called \emph{descriptor} class) is in
@@ -1235,13 +1235,13 @@ \subsubsubsection{Implementing Descriptors \label{descriptors}}
12351235
\end{methoddesc}
12361236

12371237
\begin{methoddesc}[object]{__set__}{self, instance, value}
1238-
Called to set the attribute on an instance \{instance} of the owner
1238+
Called to set the attribute on an instance \var{instance} of the owner
12391239
class to a new value, \var{value}.
12401240
\end{methoddesc}
12411241

12421242
\begin{methoddesc}[object]{__delete__}{self, instance}
1243-
Called to delete the attribute on an instance \{instance} of the owner
1244-
class.
1243+
Called to delete the attribute on an instance \var{instance} of the
1244+
owner class.
12451245
\end{methoddesc}
12461246

12471247

0 commit comments

Comments
 (0)