[Python-checkins] python/dist/src/Doc/lib libwarnings.tex,1.6.16.1,1.6.16.2
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Tue, 01 Jul 2003 14:49:00 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv12520/Doc/lib
Modified Files:
Tag: release22-maint
libwarnings.tex
Log Message:
Backport tim_one's checkin:
showwarning() calls formatwarning(), not showwarning().
Index: libwarnings.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libwarnings.tex,v
retrieving revision 1.6.16.1
retrieving revision 1.6.16.2
diff -C2 -d -r1.6.16.1 -r1.6.16.2
*** libwarnings.tex 12 Mar 2002 19:51:16 -0000 1.6.16.1
--- libwarnings.tex 1 Jul 2003 21:48:57 -0000 1.6.16.2
***************
*** 175,179 ****
lineno\optional{, file}}
Write a warning to a file. The default implementation calls
! \code{showwarning(\var{message}, \var{category}, \var{filename},
\var{lineno})} and writes the resulting string to \var{file}, which
defaults to \code{sys.stderr}. You may replace this function with an
--- 175,179 ----
lineno\optional{, file}}
Write a warning to a file. The default implementation calls
! \code{formatwarning(\var{message}, \var{category}, \var{filename},
\var{lineno})} and writes the resulting string to \var{file}, which
defaults to \code{sys.stderr}. You may replace this function with an