[Python-checkins] python/dist/src/Doc/tut tut.tex,1.239,1.240
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sat Jul 10 18:11:06 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16680/Doc/tut
Modified Files:
tut.tex
Log Message:
Fix typo.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.239
retrieving revision 1.240
diff -C2 -d -r1.239 -r1.240
*** tut.tex 9 Jul 2004 06:00:32 -0000 1.239
--- tut.tex 10 Jul 2004 16:11:03 -0000 1.240
***************
*** 4366,4370 ****
Generators are a simple and powerful tool for creating iterators. They are
written like regular functions but use the \keyword{yield} statement whenever
! they want to return data. Each time the \method{next()} is called, the
generator resumes where it left-off (it remembers all the data values and
which statement was last executed). An example shows that generators can
--- 4366,4370 ----
Generators are a simple and powerful tool for creating iterators. They are
written like regular functions but use the \keyword{yield} statement whenever
! they want to return data. Each time \method{next()} is called, the
generator resumes where it left-off (it remembers all the data values and
which statement was last executed). An example shows that generators can
More information about the Python-checkins
mailing list