summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2022-10-05 22:25:55 (GMT)
committerGitHub <noreply@github.com>2022-10-05 22:25:55 (GMT)
commitb44372e03c5461b6ad3d89763a9eb6cb82df07a4 (patch)
tree0f3396cba96005662979ef0a793a9b3d6047a064 /Lib/enum.py
parentc206e53bb726fa795d10cfb0e8d1d1a1a5d1aaa7 (diff)
downloadcpython-b44372e03c5461b6ad3d89763a9eb6cb82df07a4.zip
cpython-b44372e03c5461b6ad3d89763a9eb6cb82df07a4.tar.gz
cpython-b44372e03c5461b6ad3d89763a9eb6cb82df07a4.tar.bz2
gh-96865: [Enum] fix Flag to use CONFORM boundary (GH-97528)
Diffstat (limited to 'Lib/enum.py')
-rw-r--r--Lib/enum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index c3aafc2..a66c344 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -1269,7 +1269,7 @@ class FlagBoundary(StrEnum):
STRICT, CONFORM, EJECT, KEEP = FlagBoundary
-class Flag(Enum, boundary=STRICT):
+class Flag(Enum, boundary=CONFORM):
"""
Support for flags
"""