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

Fred L. Drake fdrake@users.sourceforge.net
Fri, 14 Dec 2001 14:55:16 -0800


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory usw-pr-cvs1:/tmp/cvs-serv17476/ref

Modified Files:
	ref6.tex 
Log Message:
Update to use the notice environment so a multi-paragraph note can be
appropriately marked.


Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** ref6.tex	2001/12/12 06:06:43	1.46
--- ref6.tex	2001/12/14 22:55:14	1.47
***************
*** 483,494 ****
  get executed.
  
! \note{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:}
  
  \begin{verbatim}
  from __future__ import generators
  \end{verbatim}
  
  
--- 483,496 ----
  get executed.
  
! \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:
  
  \begin{verbatim}
  from __future__ import generators
  \end{verbatim}
+ \end{notice}