Skip to content

Commit d4a1c8e

Browse files
[3.12] Update an out-of-date example in the itertools recipe intro (gh-116082) (gh-116084)
1 parent 83ff92d commit d4a1c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/itertools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ The primary purpose of the itertools recipes is educational. The recipes show
770770
various ways of thinking about individual tools — for example, that
771771
``chain.from_iterable`` is related to the concept of flattening. The recipes
772772
also give ideas about ways that the tools can be combined — for example, how
773-
``compress()`` and ``range()`` can work together. The recipes also show patterns
773+
``starmap()`` and ``repeat()`` can work together. The recipes also show patterns
774774
for using itertools with the :mod:`operator` and :mod:`collections` modules as
775775
well as with the built-in itertools such as ``map()``, ``filter()``,
776776
``reversed()``, and ``enumerate()``.

0 commit comments

Comments
 (0)