Skip to content

Commit 62a9425

Browse files
Update Doc/library/warnings.rst
Co-authored-by: Petr Viktorin <[email protected]>
1 parent 5e5771d commit 62a9425

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/warnings.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,9 @@ Available Functions
491491

492492
*registry*, if supplied, should be the ``__warningregistry__`` dictionary
493493
of the module.
494-
If no registry is passed, each warning is treated as the first occurrence.
494+
If no registry is passed, each warning is treated as the first occurrence,
495+
that is, filter actions ``"default"``, ``"module"`` and ``"once"`` are
496+
handled as ``"always"``.
495497

496498
*module_globals*, if supplied, should be the global namespace in use by the code
497499
for which the warning is issued. (This argument is used to support displaying

0 commit comments

Comments
 (0)