From 2e8e6a91f0b6adf6b50d51075decc9fe646ec2c8 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 1 Jul 2003 21:48:57 +0000 Subject: [PATCH] Backport tim_one's checkin: showwarning() calls formatwarning(), not showwarning(). --- Doc/lib/libwarnings.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/libwarnings.tex b/Doc/lib/libwarnings.tex index b7c7d63551b6..f652ac04313d 100644 --- a/Doc/lib/libwarnings.tex +++ b/Doc/lib/libwarnings.tex @@ -174,7 +174,7 @@ stripped; if no registry is passed, the warning is never suppressed. \begin{funcdesc}{showwarning}{message, category, filename, lineno\optional{, file}} Write a warning to a file. The default implementation calls -\code{showwarning(\var{message}, \var{category}, \var{filename}, +\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 alternative implementation by assigning to -- 2.47.3