mirror of https://github.com/python/cpython
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
This commit is contained in:
parent
e09d94a140
commit
b949845b36
|
@ -105,7 +105,7 @@ The following warnings category classes are currently defined:
|
||||||
| | :class:`bytes` and :class:`bytearray`. |
|
| | :class:`bytes` and :class:`bytearray`. |
|
||||||
+----------------------------------+-----------------------------------------------+
|
+----------------------------------+-----------------------------------------------+
|
||||||
| :exc:`ResourceWarning` | Base category for warnings related to |
|
| :exc:`ResourceWarning` | Base category for warnings related to |
|
||||||
| | resource usage. |
|
| | resource usage (ignored by default). |
|
||||||
+----------------------------------+-----------------------------------------------+
|
+----------------------------------+-----------------------------------------------+
|
||||||
|
|
||||||
.. versionchanged:: 3.7
|
.. versionchanged:: 3.7
|
||||||
|
|
Loading…
Reference in New Issue