From 191d5ad57aee074e2d6a213e96de1c24f125e76f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 21 Nov 2026 10:13:45 -0500 Subject: [PATCH] Docs: add a versionchanged note for regexes in warnings --- Doc/library/warnings.rst | 2 ++ 1 file changed, 2 insertions(+) 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: