Skip to content

Commit 6cc0410

Browse files
rhettingeradorilson
authored andcommitted
Update an out-of-date example in the itertools recipe intro (pythongh-116082)
1 parent d01557c commit 6cc0410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/itertools.rst

+1-1
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)