Skip to content

Commit

Permalink
Update an out-of-date example in the itertools recipe intro (pythongh…
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger authored and diegorusso committed Apr 17, 2024
1 parent 8ef0f2e commit 6367797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/itertools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ The primary purpose of the itertools recipes is educational. The recipes show
various ways of thinking about individual tools — for example, that
``chain.from_iterable`` is related to the concept of flattening. The recipes
also give ideas about ways that the tools can be combined — for example, how
``compress()`` and ``range()`` can work together. The recipes also show patterns
``starmap()`` and ``repeat()`` can work together. The recipes also show patterns
for using itertools with the :mod:`operator` and :mod:`collections` modules as
well as with the built-in itertools such as ``map()``, ``filter()``,
``reversed()``, and ``enumerate()``.
Expand Down

0 comments on commit 6367797

Please sign in to comment.