diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-01-04 12:03:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 12:03:38 (GMT) |
commit | 01b12942d0ba2fd3c2efdfb796e8816efc607ee7 (patch) | |
tree | 66ae16faa93100e0c910926ae62469ce4a4e0a00 /Doc/library | |
parent | 743394f2811796b30b618d4cb6dd582715f8638c (diff) | |
download | cpython-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.rst | 2 |
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 |