|
From: A.M. K. <aku...@us...> - 2001-07-17 18:25:05
|
Update of /cvsroot/py-howto/pyhowto
In directory usw-pr-cvs1:/tmp/cvs-serv19910
Modified Files:
python-22.tex
Log Message:
Delete sentence fragment (noted by Fred Bremmer)
Index: python-22.tex
===================================================================
RCS file: /cvsroot/py-howto/pyhowto/python-22.tex,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** python-22.tex 2001/07/17 14:54:07 1.12
--- python-22.tex 2001/07/17 18:25:01 1.13
***************
*** 269,276 ****
be done by setting \code{self.count} to 0, and having the
\method{next()} method increment \code{self.count} and return it.
! because it would be easy to write a Python class. However, for a
! moderately complicated generator, writing a corresponding class would
! be much messier. \file{Lib/test/test_generators.py} contains a number
! of more interesting examples. The simplest one implements an in-order
traversal of a tree using generators recursively.
--- 269,276 ----
be done by setting \code{self.count} to 0, and having the
\method{next()} method increment \code{self.count} and return it.
! However, for a moderately complicated generator, writing a
! corresponding class would be much messier.
! \file{Lib/test/test_generators.py} contains a number of more
! interesting examples. The simplest one implements an in-order
traversal of a tree using generators recursively.
***************
*** 641,645 ****
The author would like to thank the following people for offering
suggestions and corrections to various drafts of this article: Fred
! L. Drake, Jr., Tim Peters, Neil Schemenauer.
\end{document}
--- 641,645 ----
The author would like to thank the following people for offering
suggestions and corrections to various drafts of this article: Fred
! Bremmer, Fred L. Drake, Jr., Tim Peters, Neil Schemenauer.
\end{document}
|