diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2024-02-28 23:11:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 23:11:05 (GMT) |
commit | f484a2a7486d0b4c7c11901f6c668eb23b74e81f (patch) | |
tree | 8bfec0a1c1947eb0e77f4bb2e93c239673f6300b /Doc | |
parent | e80abd57a82ea1beae0a82423d45c6eb8c5c5c74 (diff) | |
download | cpython-f484a2a7486d0b4c7c11901f6c668eb23b74e81f.zip cpython-f484a2a7486d0b4c7c11901f6c668eb23b74e81f.tar.gz cpython-f484a2a7486d0b4c7c11901f6c668eb23b74e81f.tar.bz2 |
Update an out-of-date example in the itertools recipe intro (gh-116082)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 4e731fe..c26f6c8 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()``. |