Skip to content

Commit

Permalink
hdl: fix SignalKey.__repr__.
Browse files Browse the repository at this point in the history
  • Loading branch information
wanda-phi authored and whitequark committed Jul 27, 2024
1 parent bf98136 commit 69faf77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amaranth/hdl/_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 69faf77

Please sign in to comment.