]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-89253: Add 3.10 whatsnew section for itertools.pairwise (GH-91563)
authorslateny <46876382+slateny@users.noreply.github.com>
Sat, 30 Apr 2022 22:14:38 +0000 (15:14 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 22:14:38 +0000 (15:14 -0700)
#89253

[`pairwise()`](https://docs.python.org/3/library/itertools.html#itertools.pairwise) already has the 'new in python3.10'

Automerge-Triggered-By: GH:rhettinger
Doc/whatsnew/3.10.rst

index dd01c88d8ae6660352089fa397803998167c8f11..f93523a4c50a891c4fba1195f1811f5e50685f46 100644 (file)
@@ -1223,6 +1223,12 @@ now call :func:`inspect.get_annotations` to retrieve annotations. This means
 also now un-stringize stringized annotations.
 (Contributed by Larry Hastings in :issue:`43817`.)
 
+itertools
+---------
+
+Add :func:`itertools.pairwise()`.
+(Contributed by Raymond Hettinger in :issue:`38200`.)
+
 linecache
 ---------