]> granicus.if.org Git - python/commitdiff
Document filterwarnings(..., append=<bool>).
authorGuido van Rossum <guido@python.org>
Sun, 14 Jan 2001 14:10:18 +0000 (14:10 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 14 Jan 2001 14:10:18 +0000 (14:10 +0000)
Doc/lib/libwarnings.tex

index ffb0afb71b404285cbc9b8b3895a7836ab2b7e51..051c79d16f56558ba3fe2bee963561e9a117044f 100644 (file)
@@ -178,8 +178,10 @@ contain embedded newlines and ends in a newline.
 
 \begin{funcdesc}{filterwarnings}{action\optional{,
                  message\optional{, category\optional{,
-                 module\optional{, lineno}}}}}
-Insert an entry into the list of warnings filters (at the front).
+                 module\optional{, lineno\optional{, append}}}}}}
+Insert an entry into the list of warnings filters.  The entry is
+inserted at the front by default; if \var{append} is true, it is
+inserted at the end.
 This checks the types of the arguments, compiles the message and
 module regular expressions, and inserts them as a tuple in front
 of the warnings filter.  Entries inserted later override entries