From 69faf77022fbcc70020055af7236971906a79e9d Mon Sep 17 00:00:00 2001 From: Wanda Date: Sat, 27 Jul 2024 18:57:20 +0200 Subject: [PATCH] hdl: fix `SignalKey.__repr__`. --- amaranth/hdl/_ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amaranth/hdl/_ast.py b/amaranth/hdl/_ast.py index 1293f871d..096f5286f 100644 --- a/amaranth/hdl/_ast.py +++ b/amaranth/hdl/_ast.py @@ -3251,7 +3251,7 @@ def __lt__(self, other): return self._intern < other._intern def __repr__(self): - return f"<{__qualname__}.SignalKey {self.signal!r}>" + return f"<{type(self).__qualname__} {self.signal!r}>" class SignalDict(_MappedKeyDict):