diff --git a/evmspec/data/_enum.py b/evmspec/data/_enum.py index 604f7ca..76d3dd8 100644 --- a/evmspec/data/_enum.py +++ b/evmspec/data/_enum.py @@ -79,4 +79,4 @@ def __call__(cls, value: Union[str, int], *args, **kw): - :class:`EnumMeta` - :meth:`EnumMeta.__call__` """ - return super().__call__(cls._member_map_.get(value, value), *args, **kw) # type: ignore [arg-type] + return EnumMeta.__call__(self, cls._member_map_.get(value, value), *args, **kw) # type: ignore [arg-type]