diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-21 20:52:23 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-21 20:52:23 (GMT) |
commit | b5ff9faceca8568d3bf53d617902d56e849c4155 (patch) | |
tree | 1ff5bae83e1783d4448644bfe42f2bd5936aa1ef | |
parent | 3f0318570d63ee5ecf9156a5a25f5f7ad9ecad99 (diff) | |
download | cpython-b5ff9faceca8568d3bf53d617902d56e849c4155.zip cpython-b5ff9faceca8568d3bf53d617902d56e849c4155.tar.gz cpython-b5ff9faceca8568d3bf53d617902d56e849c4155.tar.bz2 |
Merged revisions 77675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77675 | ezio.melotti | 2010-01-21 22:50:57 +0200 (Thu, 21 Jan 2010) | 1 line
#7746: rephrase a sentence
........
-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 87e99d0..229bc1f 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 |