From: Andrew M. Kuchling Date: Tue, 4 Mar 2008 01:47:38 +0000 (+0000) Subject: Fix sentence fragment X-Git-Tag: v2.6a2~405 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=684868ac90a064c91c4387e30ba8afe23212d80b;p=python Fix sentence fragment --- diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index dafa6d8516..68a4ffd174 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)