File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -595,8 +595,9 @@ Available Context Managers
595595 A context manager that copies and, upon exit, restores the warnings filter
596596 and the :func: `showwarning ` function.
597597 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
598+ returns :class: `None ` on entry. If *record * is :const: `True `, the default
599+ warning stream is intercepted and a list is returned that is progressively
600+ populated with objects as seen by a custom
600601 :func: `showwarning ` function (which also suppresses output to ``sys.stderr `` and other streams).
601602 Each object in the list has attributes with the same names as the arguments to
602603 :func: `showwarning `.
You can’t perform that action at this time.
0 commit comments