From: Hugo van Kemenade Date: Tue, 4 Jan 2022 11:34:31 +0000 (+0200) Subject: bpo-33252: Document that ResourceWarning is ignored by default (GH-30358) X-Git-Tag: v3.11.0a4~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b949845b36b999185ed2bdf8a04dca1da39f3002;p=thirdparty%2FPython%2Fcpython.git bpo-33252: Document that ResourceWarning is ignored by default (GH-30358) `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 --- diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index fe11aabbcbdd..289b28229e1a 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