Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
.
  • Loading branch information
rhettinger committed Oct 17, 2022
commit 21a6f6707451507881c809b675d25b1b8185fe8e
2 changes: 1 addition & 1 deletion Doc/library/itertools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ loops that truncate the stream.
.. function:: batched(iterable, n)

Batch data from the *iterable* into lists of length *n*. The last
batch may be shorter.
batch may be shorter than *n*.

Loops over the input iterable and accumulates data into lists up to
size *n*. The input is consumed lazily, just enough to fill a list.
Expand Down