bpo-33252: Document that ResourceWarning is ignored by default (GH-30358) (GH-30396)

`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 b949845b36)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-01-04 04:03:58 -08:00 committed by GitHub
parent 86d1b8c13f
commit 8f082e2bf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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