summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-01-04 12:03:38 (GMT)
committerGitHub <noreply@github.com>2022-01-04 12:03:38 (GMT)
commit01b12942d0ba2fd3c2efdfb796e8816efc607ee7 (patch)
tree66ae16faa93100e0c910926ae62469ce4a4e0a00 /Doc/library
parent743394f2811796b30b618d4cb6dd582715f8638c (diff)
downloadcpython-01b12942d0ba2fd3c2efdfb796e8816efc607ee7.zip
cpython-01b12942d0ba2fd3c2efdfb796e8816efc607ee7.tar.gz
cpython-01b12942d0ba2fd3c2efdfb796e8816efc607ee7.tar.bz2
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 <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/warnings.rst2
1 files changed, 1 insertions, 1 deletions
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