From 01b12942d0ba2fd3c2efdfb796e8816efc607ee7 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 4 Jan 2022 04:03:38 -0800 Subject: bpo-33252: Document that ResourceWarning is ignored by default (GH-30358) (GH-30395) `ResourceWarning` is ignored by default. Document this behaviour, for consistency with others in this table such as `DeprecationWarning`. Documentation PR can skip NEWS file. Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit b949845b36b999185ed2bdf8a04dca1da39f3002) Co-authored-by: Hugo van Kemenade Co-authored-by: Hugo van Kemenade --- Doc/library/warnings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index fe11aab..289b282 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -105,7 +105,7 @@ The following warnings category classes are currently defined: | | :class:`bytes` and :class:`bytearray`. | +----------------------------------+-----------------------------------------------+ | :exc:`ResourceWarning` | Base category for warnings related to | -| | resource usage. | +| | resource usage (ignored by default). | +----------------------------------+-----------------------------------------------+ .. versionchanged:: 3.7 -- cgit v0.12