summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-03-04 01:47:38 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-03-04 01:47:38 (GMT)
commit684868ac90a064c91c4387e30ba8afe23212d80b (patch)
treee35fbc161bee728ce9de3a23489796d7da564a92
parentece10b40040712e8e2daef4529c114c72bc7cd12 (diff)
downloadcpython-684868ac90a064c91c4387e30ba8afe23212d80b.zip
cpython-684868ac90a064c91c4387e30ba8afe23212d80b.tar.gz
cpython-684868ac90a064c91c4387e30ba8afe23212d80b.tar.bz2
Fix sentence fragment
-rw-r--r--Doc/library/itertools.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index dafa6d8..68a4ffd 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -410,8 +410,8 @@ loops that truncate the stream.
repetitions with the optional *repeat* keyword argument. For example,
``product(A, repeat=4)`` means the same as ``product(A, A, A, A)``.
- Equivalent to the following except that the actual implementation does not
- build-up intermediate results in memory::
+ This function is equivalent to the following code, except that the
+ actual implementation does not build up intermediate results in memory::
def product(*args, **kwds):
pools = map(tuple, args) * kwds.get('repeat', 1)