diff options
author | Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com> | 2022-04-24 00:55:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 00:55:22 (GMT) |
commit | b4e048411f4c62ad7343bca32c307f0bf5ef74b4 (patch) | |
tree | 5bf8f8dca04efab3796b05952dee9035bf9f72b8 /Misc/NEWS.d/next/Library/2022-04-10-17-12-23.gh-issue-91230.T1d_fG.rst | |
parent | 692e9078a10b268530f8da7d3095cfb05c48435b (diff) | |
download | cpython-b4e048411f4c62ad7343bca32c307f0bf5ef74b4.zip cpython-b4e048411f4c62ad7343bca32c307f0bf5ef74b4.tar.gz cpython-b4e048411f4c62ad7343bca32c307f0bf5ef74b4.tar.bz2 |
gh-91230: Concise catch_warnings with simplefilter (#91435)
Diffstat (limited to 'Misc/NEWS.d/next/Library/2022-04-10-17-12-23.gh-issue-91230.T1d_fG.rst')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-04-10-17-12-23.gh-issue-91230.T1d_fG.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-04-10-17-12-23.gh-issue-91230.T1d_fG.rst b/Misc/NEWS.d/next/Library/2022-04-10-17-12-23.gh-issue-91230.T1d_fG.rst new file mode 100644 index 0000000..1efc7af --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-04-10-17-12-23.gh-issue-91230.T1d_fG.rst @@ -0,0 +1,3 @@ +:func:`warnings.catch_warnings` now accepts arguments for +:func:`warnings.simplefilter`, providing a more concise way to +locally ignore warnings or convert them to errors. |