Skip to content

Commit 4c0c320

Browse files
committed
Fix typos in _Mapper method docstrings
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent c7e6096 commit 4c0c320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/channels/_receiver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ def consume(self) -> MappedMessageT_co: # noqa: DOC502
336336
) # pylint: disable=protected-access
337337

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

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

0 commit comments

Comments
 (0)