[Python-checkins] CVS: python/dist/src/Doc/ref ref3.tex,1.75,1.76 ref7.tex,1.28,1.29

Fred L. Drake fdrake@users.sourceforge.net
Fri, 19 Oct 2001 21:19:53 -0700


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

Modified Files:
	ref3.tex ref7.tex 
Log Message:
Use the \note and \warning macros where appropriate.

Index: ref3.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref3.tex,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** ref3.tex	2001/10/01 16:32:13	1.75
--- ref3.tex	2001/10/20 04:19:50	1.76
***************
*** 936,940 ****
  \code{sys.exc_traceback} or \code{sys.last_traceback}.
  
! \strong{Warning:} due to the precarious circumstances under which
  \method{__del__()} methods are invoked, exceptions that occur during their
  execution are ignored, and a warning is printed to \code{sys.stderr}
--- 936,940 ----
  \code{sys.exc_traceback} or \code{sys.last_traceback}.
  
! \warning{Due to the precarious circumstances under which
  \method{__del__()} methods are invoked, exceptions that occur during their
  execution are ignored, and a warning is printed to \code{sys.stderr}
***************
*** 948,952 ****
  other references to such globals exist, this may help in assuring that
  imported modules are still available at the time when the
! \method{__del__()} method is called. 
  \end{methoddesc}
  
--- 948,952 ----
  other references to such globals exist, this may help in assuring that
  imported modules are still available at the time when the
! \method{__del__()} method is called.}
  \end{methoddesc}
  
***************
*** 1199,1205 ****
  (after any special interpretation of negative values),
  \exception{IndexError} should be raised.
! \strong{Note:}  \keyword{for} loops expect that an
  \exception{IndexError} will be raised for illegal indexes to allow
! proper detection of the end of the sequence.
  \end{methoddesc}
  
--- 1199,1205 ----
  (after any special interpretation of negative values),
  \exception{IndexError} should be raised.
! \note{\keyword{for} loops expect that an
  \exception{IndexError} will be raised for illegal indexes to allow
! proper detection of the end of the sequence.}
  \end{methoddesc}
  

Index: ref7.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref7.tex,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** ref7.tex	2001/07/06 22:49:53	1.28
--- ref7.tex	2001/10/20 04:19:51	1.29
***************
*** 162,166 ****
  \indexii{Pascal}{language}
  
! \strong{Warning:} There is a subtlety when the sequence is being modified
  by the loop (this can only occur for mutable sequences, i.e. lists).
  An internal counter is used to keep track of which item is used next,
--- 162,166 ----
  \indexii{Pascal}{language}
  
! \warning{There is a subtlety when the sequence is being modified
  by the loop (this can only occur for mutable sequences, i.e. lists).
  An internal counter is used to keep track of which item is used next,
***************
*** 175,179 ****
  copy using a slice of the whole sequence, e.g.,
  \index{loop!over mutable sequence}
! \index{mutable sequence!loop over}
  
  \begin{verbatim}
--- 175,179 ----
  copy using a slice of the whole sequence, e.g.,
  \index{loop!over mutable sequence}
! \index{mutable sequence!loop over}}
  
  \begin{verbatim}