[Python-checkins] CVS: python/dist/src/Doc/lib libwarnings.tex,1.6,1.7

Fred L. Drake fdrake@users.sourceforge.net
Tue, 12 Mar 2002 11:49:34 -0800


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

Modified Files:
	libwarnings.tex 
Log Message:
"level" keyword argument in example should be "stacklevel".
This closes SF bug #517684.


Index: libwarnings.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libwarnings.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** libwarnings.tex	14 Aug 2001 21:51:50 -0000	1.6
--- libwarnings.tex	12 Mar 2002 19:49:31 -0000	1.7
***************
*** 154,158 ****
  \begin{verbatim}
  def deprecation(message):
!     warnings.warn(message, DeprecationWarning, level=2)
  \end{verbatim}
  
--- 154,158 ----
  \begin{verbatim}
  def deprecation(message):
!     warnings.warn(message, DeprecationWarning, stacklevel=2)
  \end{verbatim}