Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77b20f0

Browse files
committed
Document filterwarnings(..., append=<bool>).
1 parent 9464a7d commit 77b20f0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/lib/libwarnings.tex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,10 @@ \subsection{Available Functions \label{warning-functions}}
178178

179179
\begin{funcdesc}{filterwarnings}{action\optional{,
180180
message\optional{, category\optional{,
181-
module\optional{, lineno}}}}}
182-
Insert an entry into the list of warnings filters (at the front).
181+
module\optional{, lineno\optional{, append}}}}}}
182+
Insert an entry into the list of warnings filters. The entry is
183+
inserted at the front by default; if \var{append} is true, it is
184+
inserted at the end.
183185
This checks the types of the arguments, compiles the message and
184186
module regular expressions, and inserts them as a tuple in front
185187
of the warnings filter. Entries inserted later override entries

0 commit comments

Comments
 (0)