summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-02-28 23:19:17 (GMT)
committerGitHub <noreply@github.com>2024-02-28 23:19:17 (GMT)
commitd4a1c8e62817bff5cb8b86b5b387c36bcafa81da (patch)
tree519ab1ef772d50ff7a2c465667bc3d68c6963bfd
parent83ff92d225816bc23073e9d5a57cc117a4f25714 (diff)
downloadcpython-d4a1c8e62817bff5cb8b86b5b387c36bcafa81da.zip
cpython-d4a1c8e62817bff5cb8b86b5b387c36bcafa81da.tar.gz
cpython-d4a1c8e62817bff5cb8b86b5b387c36bcafa81da.tar.bz2
[3.12] Update an out-of-date example in the itertools recipe intro (gh-116082) (gh-116084)
-rw-r--r--Doc/library/itertools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 82d24a7..f265e04 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -770,7 +770,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()``.