mirror of
https://github.com/python/cpython.git
synced 2025-08-26 03:34:43 +00:00
gh-96865: [Enum] fix Flag to use CONFORM boundary (GH-97528)
This commit is contained in:
parent
c206e53bb7
commit
b44372e03c
3 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue