summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-07-30 11:55:06 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-07-30 11:55:06 (GMT)
commit68a3294fc49c128c4078b41c9a030646e843aba8 (patch)
treec0bc51c0657c93e5ae1517b6be7bc8a75e6f9933 /Doc/whatsnew
parentbf71fa1a595ec4033233c3655bb89f39f5a3c2a1 (diff)
downloadcpython-68a3294fc49c128c4078b41c9a030646e843aba8.zip
cpython-68a3294fc49c128c4078b41c9a030646e843aba8.tar.gz
cpython-68a3294fc49c128c4078b41c9a030646e843aba8.tar.bz2
[Bug #779469] Fix error in example code
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/whatsnew23.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index 2e9b385..ebcdb3f 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -1055,7 +1055,7 @@ class FakeSeq:
def __getitem__(self, item):
if isinstance(item, slice):
indices = item.indices(len(self))
- return FakeSeq([self.calc_item(i) in range(*indices)])
+ return FakeSeq([self.calc_item(i) for i in range(*indices)])
else:
return self.calc_item(i)
\end{verbatim}
@@ -2386,7 +2386,8 @@ name.
The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Jeff Bauer, Simon Brunning, Brett Cannon, Michael Chermside,
-Andrew Dalke, Scott David Daniels, Fred~L. Drake, Jr., Kelly Gerber,
+Andrew Dalke, Scott David Daniels, Fred~L. Drake, Jr., David Fraser,
+Kelly Gerber,
Raymond Hettinger, Michael Hudson, Chris Lambert, Detlef Lannert,
Martin von~L\"owis, Andrew MacIntyre, Lalo Martins, Chad Netzer,
Gustavo Niemeyer, Neal Norwitz, Hans Nowak, Chris Reedy, Francesco