summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2016-11-21 16:30:55 (GMT)
committerEthan Furman <ethan@stoneleaf.us>2016-11-21 16:30:55 (GMT)
commitb779f3171a8bd212ba56902a747d3e29dcd97726 (patch)
tree9847f38f728e85388530f8c8f77febccc880ea2b
parent92c50eee5273e75ef186ce1ffb750d7288a80767 (diff)
parentc88c80b716cecd0aea8467a41668dced9cafe3d5 (diff)
downloadcpython-b779f3171a8bd212ba56902a747d3e29dcd97726.zip
cpython-b779f3171a8bd212ba56902a747d3e29dcd97726.tar.gz
cpython-b779f3171a8bd212ba56902a747d3e29dcd97726.tar.bz2
update news and re doc
-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