]> granicus.if.org Git - python/commitdiff
Fix typo.
authorRaymond Hettinger <python@rcn.com>
Tue, 10 Mar 2009 13:04:30 +0000 (13:04 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 10 Mar 2009 13:04:30 +0000 (13:04 +0000)
Doc/library/itertools.rst

index 1e946b11b0fdd7912c8c0e9c3330d17e7df0c31a..f1d5aa822cbc00fe855cf86539dc1ae539c0bb83 100644 (file)
@@ -56,7 +56,7 @@ form an efficient dot-product: ``sum(imap(operator.add, vector1, vector2))``.
     :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), func(p1, q1), ...
-    :func:`starmap`         func, seq                       func(\*seq[0]), fun(\*seq[1]), ...
+    :func:`starmap`         func, seq                       func(\*seq[0]), func(\*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
     :func:`izip`            p, q, ...                       (p[0], q[0]), (p[1], q[1]), ...