Skip to content

Commit

Permalink
Improve __repr__ documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Leandro Lucarella <[email protected]>
  • Loading branch information
llucax committed Mar 5, 2024
1 parent 66bcb60 commit 0ba720f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frequenz/channels/_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def __str__(self) -> str:
)

def __repr__(self) -> str:
"""Return a the internal representation of this selected receiver."""
"""Return a string with the internal representation of this instance."""
return (
f"{type(self).__name__}({self._recv=}, {self._value=}, "
f"{self._exception=}, {self._handled=})"
Expand Down

0 comments on commit 0ba720f

Please sign in to comment.