Skip to content

Commit

Permalink
pythongh-113202: Add whatsnew entry for the batched() strict option. (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger authored and diegorusso committed Apr 17, 2024
1 parent 1d2759a commit 35fdf11
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Doc/whatsnew/3.13.rst
Expand Up @@ -313,6 +313,14 @@ ipaddress
* Add the :attr:`ipaddress.IPv4Address.ipv6_mapped` property, which returns the IPv4-mapped IPv6 address.
(Contributed by Charles Machalow in :gh:`109466`.)

itertools
---------

* Added a ``strict`` option to :func:`itertools.batched`.
This raises a :exc:`ValueError` if the final batch is shorter
than the specified batch size.
(Contributed by Raymond Hettinger in :gh:`113202`.)

marshal
-------

Expand Down

0 comments on commit 35fdf11

Please sign in to comment.