From 32eabd9372b877f916e0f81cf3d2e0489e48e18e Mon Sep 17 00:00:00 2001 From: Catherine Date: Mon, 6 Mar 2023 19:44:53 +0000 Subject: [PATCH] hdl.ast: remove `Value.__hash__`. This is already undefined when defining `Value.__eq__`, and it makes typecheckers (mypy, pyright/pylance) unhappy. --- amaranth/hdl/ast.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/amaranth/hdl/ast.py b/amaranth/hdl/ast.py index 3357a4a..8f65f1b 100644 --- a/amaranth/hdl/ast.py +++ b/amaranth/hdl/ast.py @@ -572,8 +572,6 @@ class Value(metaclass=ABCMeta): def _rhs_signals(self): pass # :nocov: - __hash__ = None - @final class Const(Value):