Skip to content

Commit f484a2a

Browse files
authored
Update an out-of-date example in the itertools recipe intro (gh-116082)
1 parent e80abd5 commit f484a2a

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
@@ -778,7 +778,7 @@ The primary purpose of the itertools recipes is educational. The recipes show
778778
various ways of thinking about individual tools — for example, that
779779
``chain.from_iterable`` is related to the concept of flattening. The recipes
780780
also give ideas about ways that the tools can be combined — for example, how
781-
``compress()`` and ``range()`` can work together. The recipes also show patterns
781+
``starmap()`` and ``repeat()`` can work together. The recipes also show patterns
782782
for using itertools with the :mod:`operator` and :mod:`collections` modules as
783783
well as with the built-in itertools such as ``map()``, ``filter()``,
784784
``reversed()``, and ``enumerate()``.

0 commit comments

Comments
 (0)