Skip to content

Commit 0cb0871

Browse files
authored
GH-103415: Document itertools.batched() in whatsnew.3.12 (#103670)
1 parent dc328d3 commit 0cb0871

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.12.rst

+7
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,13 @@ fractions
309309
* Objects of type :class:`fractions.Fraction` now support float-style
310310
formatting. (Contributed by Mark Dickinson in :gh:`100161`.)
311311

312+
itertools
313+
---------
314+
315+
* Added :class:`itertools.batched()` for collecting into even-sized
316+
tuples where the last batch may be shorter than the rest.
317+
(Contributed by Raymond Hettinger in :gh:`98363`.)
318+
312319
math
313320
----
314321

0 commit comments

Comments
 (0)