File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -476,11 +476,11 @@ \section{The \keyword{yield} statement \label{yield}}
476476invoked, the function can proceed exactly as if the \keyword {yield}
477477statement were just another external call.
478478
479- One restriction in the use of the \keyword {yield} statement is is that
480- is is not allowed in the try clause of a \keyword {try}
481- ... \ \keyword {finally} construct. The difficulty is that there's no
482- guarantee the generator will ever be resumed, hence no guarantee that
483- the \keyword {finally} block will ever get executed.
479+ The \keyword {yield} statement is not allowed in the \keyword {try}
480+ clause of a \keyword {try} ... \ \keyword {finally} construct. The
481+ difficulty is that there's no guarantee the generator will ever be
482+ resumed, hence no guarantee that the \keyword {finally} block will ever
483+ get executed.
484484
485485\begin {seealso }
486486 \seepep {0255}{Simple Generators}
You can’t perform that action at this time.
0 commit comments