Skip to content

Commit 3beae8b

Browse files
committed
gh-129846: docs(warnings): clarify suppression of warning output in catch_warnings
1 parent a42168d commit 3beae8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/warnings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ Available Context Managers
597597
If the *record* argument is :const:`False` (the default) the context manager
598598
returns :class:`None` on entry. If *record* is :const:`True`, a list is
599599
returned that is progressively populated with objects as seen by a custom
600-
:func:`showwarning` function (which also suppresses output to ``sys.stdout``).
600+
:func:`showwarning` function (which also suppresses output to ``sys.stderr`` and other streams).
601601
Each object in the list has attributes with the same names as the arguments to
602602
:func:`showwarning`.
603603

0 commit comments

Comments
 (0)