Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mthrok committed Nov 20, 2024
1 parent ce85f8e commit cb5ea39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spdl/dataloader/_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class MergeIterator(Iterable[T]):
... ]
>>>
>>> print(list(MergeIterator(iterables)))
[0, 10, 20, 1, 21, 2] # 22 is not included
[0, 10, 20, 1, 11, 21, 2] # 22 is not included
>>>
>>> # Stop after yielding the given number of items
>>> print(list(MergeIterator(iterables, stop_after=5)))
Expand Down

0 comments on commit cb5ea39

Please sign in to comment.