mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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:
parent
86d1b8c13f
commit
8f082e2bf4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue