[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.159,1.160
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Wed, 30 Jul 2003 04:55:10 -0700
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv26699
Modified Files:
whatsnew23.tex
Log Message:
[Bug #779469] Fix error in example code
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.159
retrieving revision 1.160
diff -C2 -d -r1.159 -r1.160
*** whatsnew23.tex 29 Jul 2003 12:06:32 -0000 1.159
--- whatsnew23.tex 30 Jul 2003 11:55:06 -0000 1.160
***************
*** 1056,1060 ****
if isinstance(item, slice):
indices = item.indices(len(self))
! return FakeSeq([self.calc_item(i) in range(*indices)])
else:
return self.calc_item(i)
--- 1056,1060 ----
if isinstance(item, slice):
indices = item.indices(len(self))
! return FakeSeq([self.calc_item(i) for i in range(*indices)])
else:
return self.calc_item(i)
***************
*** 2387,2391 ****
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,
Raymond Hettinger, Michael Hudson, Chris Lambert, Detlef Lannert,
Martin von~L\"owis, Andrew MacIntyre, Lalo Martins, Chad Netzer,
--- 2387,2392 ----
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., David Fraser,
! Kelly Gerber,
Raymond Hettinger, Michael Hudson, Chris Lambert, Detlef Lannert,
Martin von~L\"owis, Andrew MacIntyre, Lalo Martins, Chad Netzer,