Skip to content

Commit

Permalink
Define __slots__ for cef_parser.Flag
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Mar 16, 2021
1 parent 68c93e4 commit 9813651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mh_utils/cef_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ class Flag(str):
:param severity: The severity of the flag
"""

__slots__ = ("severity", )
severity: int

def __copy__(self):
Expand Down

0 comments on commit 9813651

Please sign in to comment.