]> granicus.if.org Git - python/commitdiff
Fix sentence fragment
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 4 Mar 2008 01:47:38 +0000 (01:47 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 4 Mar 2008 01:47:38 +0000 (01:47 +0000)
Doc/library/itertools.rst

index dafa6d8516922437a3176069114761f226671e67..68a4ffd174dc1ba120b24660bfd3ba330871162f 100644 (file)
@@ -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)