summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2024-02-24 18:03:11 (GMT)
committerGitHub <noreply@github.com>2024-02-24 18:03:11 (GMT)
commit53c5c17e0a97ee06e511c89f1ca6ceb38fd06246 (patch)
treef07f16f3ab25ef77bb0ea2403df407a5b78fef6a /Doc
parent52517118685dd3cc35068af6bba80b650775a89b (diff)
downloadcpython-53c5c17e0a97ee06e511c89f1ca6ceb38fd06246.zip
cpython-53c5c17e0a97ee06e511c89f1ca6ceb38fd06246.tar.gz
cpython-53c5c17e0a97ee06e511c89f1ca6ceb38fd06246.tar.bz2
gh-113202: Add whatsnew entry for the batched() strict option. (gh-115889)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.13.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 7c6a2af..4082358 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -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
-------