diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2023-04-22 01:52:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 01:52:37 (GMT) |
commit | 0cb0871584d2288e436445ee32e585bf5af7c9de (patch) | |
tree | 27dc22dfb83c557abcceb1eedd3bc87e508225e1 | |
parent | dc328d398d8f65ec6d2fa493e16ceee75f6d774a (diff) | |
download | cpython-0cb0871584d2288e436445ee32e585bf5af7c9de.zip cpython-0cb0871584d2288e436445ee32e585bf5af7c9de.tar.gz cpython-0cb0871584d2288e436445ee32e585bf5af7c9de.tar.bz2 |
GH-103415: Document itertools.batched() in whatsnew.3.12 (#103670)
-rw-r--r-- | Doc/whatsnew/3.12.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index b3bb065..f940665 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -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 ---- |