Skip to content

Commit

Permalink
use IntEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Nov 15, 2023
1 parent 2705f10 commit 5a51de3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vyper/semantics/analysis/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ def from_abi(cls, abi_dict: Dict) -> "StateMutability":
# specifying a state mutability modifier at all. Do the same here.


class VariableConstancy(_StringEnum):
MUTABLE = _StringEnum.auto()
RUNTIME_CONSTANT = _StringEnum.auto()
COMPILE_TIME_CONSTANT = _StringEnum.auto()
class VariableConstancy(enum.IntEnum):
MUTABLE = enum.auto()
RUNTIME_CONSTANT = enum.auto()
COMPILE_TIME_CONSTANT = enum.auto()


class DataPosition:
Expand Down

0 comments on commit 5a51de3

Please sign in to comment.