diff options
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r-- | Doc/library/itertools.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index f8d9d26..a98b2b6 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -24,9 +24,8 @@ algebra" making it possible to construct specialized tools succinctly and efficiently in pure Python. For instance, SML provides a tabulation tool: ``tabulate(f)`` which produces a -sequence ``f(0), f(1), ...``. This toolbox provides :func:`imap` and -:func:`count` which can be combined to form ``imap(f, count())`` to produce an -equivalent result. +sequence ``f(0), f(1), ...``. The same effect can be achieved in Python +by combining :func:`imap` and :func:`count` to form ``imap(f, count())``. These tools and their built-in counterparts also work well with the high-speed functions in the :mod:`operator` module. For example, the multiplication |