summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/whatsnew22.tex
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-10-29 15:47:33 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-10-29 15:47:33 (GMT)
commit2836907bbb62272db4186d89e684108b90ded8fe (patch)
tree7027551aa550f0eaa7009cb66d567d6209106868 /Doc/whatsnew/whatsnew22.tex
parentafe7a94089dab0fea0694647e91988df29d23c1c (diff)
downloadcpython-2836907bbb62272db4186d89e684108b90ded8fe.zip
cpython-2836907bbb62272db4186d89e684108b90ded8fe.tar.gz
cpython-2836907bbb62272db4186d89e684108b90ded8fe.tar.bz2
Fix some markup errors noted by MH
Use attribute assignment to illustrate __slots__ raising an error
Diffstat (limited to 'Doc/whatsnew/whatsnew22.tex')
-rw-r--r--Doc/whatsnew/whatsnew22.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/whatsnew22.tex b/Doc/whatsnew/whatsnew22.tex
index a72c9c1..627289e 100644
--- a/Doc/whatsnew/whatsnew22.tex
+++ b/Doc/whatsnew/whatsnew22.tex
@@ -321,12 +321,12 @@ complicated to explain, but does the right thing in this situation.
\item List all the base classes, following the classic lookup rule and
include a class multiple times if it's visited repeatedly. In the
above example, the list of visited classes is [\class{D}, \class{B},
-\class{A}, \class{C}, class{A}].
+\class{A}, \class{C}, \class{A}].
\item Scan the list for duplicated classes. If any are found, remove
all but one occurrence, leaving the \emph{last} one in the list. In
the above example, the list becomes [\class{D}, \class{B}, \class{C},
-class{A}] after dropping duplicates.
+\class{A}] after dropping duplicates.
\end{enumerate}
@@ -417,10 +417,10 @@ this clear:
>>> obj = C()
>>> print obj.template
None
->>> obj.template = 'Test' ; obj.name = 'abc'
+>>> obj.template = 'Test'
>>> print obj.template
Test
->>> obj.templtae
+>>> obj.templtae = None
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'C' object has no attribute 'templtae'
@@ -1361,7 +1361,7 @@ to experiment with these modules can uncomment them manually.
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Fred Bremmer, Keith Briggs, Andrew Dalke, Fred~L. Drake, Jr.,
-Carel Fellinger, Mark Hammond, Stephen Hansen, Jack Jansen,
+Carel Fellinger, Mark Hammond, Stephen Hansen, Michael Hudson, Jack Jansen,
Marc-Andr\'e Lemburg, Fredrik Lundh, Tim Peters, Tom Reinhardt, Neil
Schemenauer, Guido van Rossum.