]> granicus.if.org Git - python/commitdiff
Issue 5443: Fix typo.
authorRaymond Hettinger <python@rcn.com>
Mon, 9 Mar 2009 11:31:39 +0000 (11:31 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 9 Mar 2009 11:31:39 +0000 (11:31 +0000)
Doc/library/itertools.rst

index 2b1e7473aa539a047260bfa23da7acccda1c5457..f68465a4a88610001980eccf4444fb6c57590a51 100644 (file)
@@ -55,7 +55,7 @@ form an efficient dot-product: ``sum(imap(operator.add, vector1, vector2))``.
     :func:`ifilter`         pred, seq                       elements of seq where pred(elem) is True
     :func:`ifilterfalse`    pred, seq                       elements of seq where pred(elem) is False
     :func:`islice`          seq, [start,] stop [, step]     elements from seq[start:stop:step]
-    :func:`imap`            func, p, q, ...                 func(p0, q0), fun(p1, q1), ...
+    :func:`imap`            func, p, q, ...                 func(p0, q0), func(p1, q1), ...
     :func:`starmap`         func, seq                       func(\*seq[0]), fun(\*seq[1]), ...
     :func:`tee`             it, n                           it1, it2 , ... itn  splits one iterator into n
     :func:`takewhile`       pred, seq                       seq[0], seq[1], until pred fails