summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/re.rst3
-rw-r--r--Misc/NEWS2
2 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index c9f2263..218bbf8 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -478,6 +478,9 @@ functions are simplified versions of the full featured methods for compiled
regular expressions. Most non-trivial applications always use the compiled
form.
+.. versionchanged:: 3.6
+ Flag constants are now instances of :class:`RegexFlag`, which is a subclass of
+ :class:`enum.IntFlag`.
.. function:: compile(pattern, flags=0)
diff --git a/Misc/NEWS b/Misc/NEWS
index 6916011..731314a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -726,6 +726,8 @@ Library
- Issue #28025: Convert all ssl module constants to IntEnum and IntFlags.
SSLContext properties now return flags and enums.
+- Issue #23591: Add Flag, IntFlag, and auto() to enum module.
+
- Issue #433028: Added support of modifier spans in regular expressions.
- Issue #24594: Validates persist parameter when opening MSI database