Skip to content

Commit 53c5c17

Browse files
authored
gh-113202: Add whatsnew entry for the batched() strict option. (gh-115889)
1 parent 5251711 commit 53c5c17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,14 @@ ipaddress
313313
* Add the :attr:`ipaddress.IPv4Address.ipv6_mapped` property, which returns the IPv4-mapped IPv6 address.
314314
(Contributed by Charles Machalow in :gh:`109466`.)
315315

316+
itertools
317+
---------
318+
319+
* Added a ``strict`` option to :func:`itertools.batched`.
320+
This raises a :exc:`ValueError` if the final batch is shorter
321+
than the specified batch size.
322+
(Contributed by Raymond Hettinger in :gh:`113202`.)
323+
316324
marshal
317325
-------
318326

0 commit comments

Comments
 (0)