We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
catch_warnings
1 parent a42168d commit 3beae8bCopy full SHA for 3beae8b
Doc/library/warnings.rst
@@ -597,7 +597,7 @@ Available Context Managers
597
If the *record* argument is :const:`False` (the default) the context manager
598
returns :class:`None` on entry. If *record* is :const:`True`, a list is
599
returned that is progressively populated with objects as seen by a custom
600
- :func:`showwarning` function (which also suppresses output to ``sys.stdout``).
+ :func:`showwarning` function (which also suppresses output to ``sys.stderr`` and other streams).
601
Each object in the list has attributes with the same names as the arguments to
602
:func:`showwarning`.
603
0 commit comments