8000 bpo-33252: Document that ResourceWarning is ignored by default (GH-30… · python/cpython@b949845 · GitHub
[go: up one dir, main page]

Skip to content

Commit b949845

Browse files
authored
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
1 parent e09d94a commit b949845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/warnings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The following warnings category classes are currently defined:
105105
| | :class:`bytes` and :class:`bytearray`. |
106106
+----------------------------------+-----------------------------------------------+
107107
| :exc:`ResourceWarning` | Base category for warnings related to |
108-
| | resource usage. |
108+
| | resource usage (ignored by default). |
109109
+----------------------------------+-----------------------------------------------+
110110

111111
.. versionchanged:: 3.7

0 commit comments

Comments
 (0)
0