https://github.com/python/cpython/commit/425fe265bf2f8b8f2d7a1f5e765a9349193a4b6c
commit: 425fe265bf2f8b8f2d7a1f5e765a9349193a4b6c
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: nedbat <[email protected]>
date: 2026-11-22T16:22:56Z
summary:

[3.14] Docs: add a versionchanged note for regexes in warnings (GH-162390) 
(#162445)

Docs: add a versionchanged note for regexes in warnings (GH-162390)
(cherry picked from commit 434744eacaf80391d8c0d531bcf4e820d94e53d1)

Co-authored-by: Ned Batchelder <[email protected]>

files:
M Doc/library/warnings.rst

diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index bb5604f6d2b786..644544e7257fc2 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -184,6 +184,8 @@ class, to turn a warning into an error we simply raise 
``category(message)``.
 If a warning is reported and doesn't match any registered filter then the
 "default" action is applied (hence its name).
 
+.. versionchanged:: 3.15
+   Added regular expression support for *message* and *module*.
 
 
 .. _repeated-warning-suppression-criteria:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to