summaryrefslogtreecommitdiffstats
path: root/Doc/library/itertools.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-09 11:31:39 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-09 11:31:39 (GMT)
commitfed84c765d85b6a0492f0b36df638bce1614764d (patch)
tree61be5f4a65e158c3c1b7a04793a3a652f3e9eda6 /Doc/library/itertools.rst
parent629f9f29068ab0c01eda0b6c165f6b3b9934fd9d (diff)
downloadcpython-fed84c765d85b6a0492f0b36df638bce1614764d.zip
cpython-fed84c765d85b6a0492f0b36df638bce1614764d.tar.gz
cpython-fed84c765d85b6a0492f0b36df638bce1614764d.tar.bz2
Issue 5443: Fix typo.
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r--Doc/library/itertools.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
index 2b1e747..f68465a 100644
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -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