https://github.com/python/cpython/commit/f484a2a7486d0b4c7c11901f6c668eb23b74e81f commit: f484a2a7486d0b4c7c11901f6c668eb23b74e81f branch: main author: Raymond Hettinger <rhettin...@users.noreply.github.com> committer: rhettinger <rhettin...@users.noreply.github.com> date: 2024-02-28T17:11:05-06:00 summary:
Update an out-of-date example in the itertools recipe intro (gh-116082) files: M Doc/library/itertools.rst diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 4e731fefe8908d..c26f6c89b4920a 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -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()``. _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com