https://github.com/python/cpython/commit/9edd3a98ae68751ffee95f67707453f1d0b63d9d
commit: 9edd3a98ae68751ffee95f67707453f1d0b63d9d
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: nedbat <[email protected]>
date: 2026-11-22T16:23:37Z
summary:

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

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 1e8acb0cb51c91..028e6c5817e50b 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -188,6 +188,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