Skip to content

Commit

Permalink
Improve wording for getting an async iterator
Browse files Browse the repository at this point in the history
We are not really initializing anything here, just returning.

Signed-off-by: Leandro Lucarella <[email protected]>
  • Loading branch information
llucax committed Mar 5, 2024
1 parent 226f9fd commit 66bcb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frequenz/channels/_receiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def consume(self) -> _T_co:
"""

def __aiter__(self) -> Self:
"""Initialize the async iterator over received values.
"""Get an async iterator over the received values.
Returns:
This receiver, as it is already an async iterator.
Expand Down

0 comments on commit 66bcb60

Please sign in to comment.