[Python-checkins] CVS: python/dist/src/Doc/ref ref6.tex,1.44,1.45

Fred L. Drake fdrake@users.sourceforge.net
2001年12月11日 13:58:37 -0800


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv28813/ref
Modified Files:
	ref6.tex 
Log Message:
Clean up a sad sentence in the yield description.
Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** ref6.tex	2001年12月11日 21:10:08	1.44
--- ref6.tex	2001年12月11日 21:58:35	1.45
***************
*** 477,485 ****
 statement were just another external call.
 
! One restriction in the use of the \keyword{yield} statement is is that
! is is not allowed in the try clause of a \keyword{try}
! ...\ \keyword{finally} construct. The difficulty is that there's no
! guarantee the generator will ever be resumed, hence no guarantee that
! the \keyword{finally} block will ever get executed.
 
 \begin{seealso}
--- 477,485 ----
 statement were just another external call.
 
! The \keyword{yield} statement is not allowed in the \keyword{try}
! clause of a \keyword{try} ...\ \keyword{finally} construct. The
! difficulty is that there's no guarantee the generator will ever be
! resumed, hence no guarantee that the \keyword{finally} block will ever
! get executed.
 
 \begin{seealso}

AltStyle によって変換されたページ (->オリジナル) /