https://github.com/python/cpython/commit/434744eacaf80391d8c0d531bcf4e820d94e53d1
commit: 434744eacaf80391d8c0d531bcf4e820d94e53d1
branch: main
author: Ned Batchelder <[email protected]>
committer: nedbat <[email protected]>
date: 2026-11-22T11:15:46-05:00
summary:

Docs: add a versionchanged note for regexes in warnings (#162390)

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