]> granicus.if.org Git - python/commitdiff
Update to use the notice environment so a multi-paragraph note can be
authorFred Drake <fdrake@acm.org>
Fri, 14 Dec 2001 22:55:14 +0000 (22:55 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 14 Dec 2001 22:55:14 +0000 (22:55 +0000)
appropriately marked.

Doc/ref/ref6.tex

index 3089b1af387eb7d1fdae5d3299b15c1cd31c6cda..122f499206728c287a0cca47a37620bf5a8c92aa 100644 (file)
@@ -482,14 +482,16 @@ 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.
 
-\note{In Python 2.2, the \keyword{yield} statement is only allowed
+\begin{notice}
+In Python 2.2, the \keyword{yield} statement is only allowed
 when the \code{generators} feature has been enabled.  It will always
 be enabled in Python 2.3.  This \code{__future__} import statment can
-be used to enable the feature:}
+be used to enable the feature:
 
 \begin{verbatim}
 from __future__ import generators
 \end{verbatim}
+\end{notice}
 
 
 \begin{seealso}