https://github.com/python/cpython/commit/d4a1c8e62817bff5cb8b86b5b387c36bcafa81da commit: d4a1c8e62817bff5cb8b86b5b387c36bcafa81da branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: rhettinger <[email protected]> date: 2024-02-28T17:19:17-06:00 summary:
[3.12] Update an out-of-date example in the itertools recipe intro (gh-116082) (gh-116084) files: M Doc/library/itertools.rst diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 82d24a752a4aaa..f265e046afc85a 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()``. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
