]> granicus.if.org Git - python/commitdiff
Clean up a sad sentence in the yield description.
authorFred Drake <fdrake@acm.org>
Tue, 11 Dec 2001 21:58:35 +0000 (21:58 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 11 Dec 2001 21:58:35 +0000 (21:58 +0000)
Doc/ref/ref6.tex

index bd91c110175f65bf75a9476509e2fac1a7061a8b..1f1486bac748367e47e4bcd41a163b35a1c16b4b 100644 (file)
@@ -476,11 +476,11 @@ enough information is saved so that the next time \method{next()} is
 invoked, the function can proceed exactly as if the \keyword{yield}
 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.
+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}
   \seepep{0255}{Simple Generators}