Skip to content

Commit

Permalink
stream: fix __init__ doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal committed Jun 7, 2024
1 parent 018e372 commit e464596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamable/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
class Stream(Iterable[T]):
def __init__(self, source: Union[Iterable[T], Callable[[], Iterator[T]]]) -> None:
"""
Initialize a Stream with a source iterable.
Initialize a Stream with a data source.
Args:
source (Union[Iterable[T], Callable[[], Iterator[T]]]): Either an iterable or a function to be called at iteration time to get a fresh source iterator.
Expand Down

0 comments on commit e464596

Please sign in to comment.