Skip to content

Commit 69faf77

Browse files
wanda-phiwhitequark
authored andcommitted
hdl: fix SignalKey.__repr__.
1 parent bf98136 commit 69faf77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth/hdl/_ast.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3251,7 +3251,7 @@ def __lt__(self, other):
32513251
return self._intern < other._intern
32523252

32533253
def __repr__(self):
3254-
return f"<{__qualname__}.SignalKey {self.signal!r}>"
3254+
return f"<{type(self).__qualname__} {self.signal!r}>"
32553255

32563256

32573257
class SignalDict(_MappedKeyDict):

0 commit comments

Comments
 (0)