-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
https://docs.python.org/3/library/warnings.html#warnings.catch_warnings reads:
If record is
True
, a list is returned that is progressively populated with objects as seen by a customshowwarning()
function (which also suppresses output tosys.stdout
).
Was it meant to say sys.stderr
instead?
Otherwise, I don't understand why it mentions stdout
specifically. I don't see anything about stdout
elsewhere in the module docs or in the implementation.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo