]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-89253: Add 3.10 whatsnew section for itertools.pairwise (GH-91563)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 Apr 2022 22:29:09 +0000 (15:29 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 22:29:09 +0000 (15:29 -0700)
GH-89253

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

Automerge-Triggered-By: GH:rhettinger
(cherry picked from commit 5dcfb916c765d825b2e8372281d71d32316b41cf)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Doc/whatsnew/3.10.rst

index 5788e32da1c92863522e34415a52fa53a4af202b..55e7d62b541597ca896cfebebcbe9a8dc65ca19e 100644 (file)
@@ -1212,6 +1212,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
 ---------