GH-103415: Document itertools.batched() in whatsnew.3.12 (#103670)

This commit is contained in:
Raymond Hettinger 2023-04-21 20:52:37 -05:00 committed by GitHub
parent dc328d398d
commit 0cb0871584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -309,6 +309,13 @@ fractions
* Objects of type :class:`fractions.Fraction` now support float-style
formatting. (Contributed by Mark Dickinson in :gh:`100161`.)
itertools
---------
* Added :class:`itertools.batched()` for collecting into even-sized
tuples where the last batch may be shorter than the rest.
(Contributed by Raymond Hettinger in :gh:`98363`.)
math
----