Skip to content

Commit

Permalink
Fix typos in _Mapper method docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: Sahas Subramanian <[email protected]>
  • Loading branch information
shsms committed Jun 28, 2024
1 parent 5c9fc0b commit 3becd73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frequenz/channels/_receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,11 @@ def consume(self) -> MappedMessageT_co: # noqa: DOC502
) # pylint: disable=protected-access

def __str__(self) -> str:
"""Return a string representation of the timer."""
"""Return a string representation of the mapper."""
return f"{type(self).__name__}:{self._receiver}:{self._mapping_function}"

def __repr__(self) -> str:
"""Return a string representation of the timer."""
"""Return a string representation of the mapper."""
return f"{type(self).__name__}({self._receiver!r}, {self._mapping_function!r})"


Expand Down

0 comments on commit 3becd73

Please sign in to comment.