mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
gh-113202: Add whatsnew entry for the batched() strict option. (gh-115889)
This commit is contained in:
parent
5251711868
commit
53c5c17e0a
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
-------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue