[Python-checkins] r61219 - python/trunk/Doc/library/itertools.rst
andrew.kuchling
python-checkins at python.org
Tue Mar 4 02:47:38 CET 2008
Author: andrew.kuchling
Date: Tue Mar 4 02:47:38 2008
New Revision: 61219
Modified:
python/trunk/Doc/library/itertools.rst
Log:
Fix sentence fragment
Modified: python/trunk/Doc/library/itertools.rst
==============================================================================
--- python/trunk/Doc/library/itertools.rst (original)
+++ python/trunk/Doc/library/itertools.rst Tue Mar 4 02:47:38 2008
@@ -410,8 +410,8 @@
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)
More information about the Python-checkins
mailing list