summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2006-03-26 01:43:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2006-03-26 01:43:15 (GMT)
commitd9578f96ef8d85fc18c6b35ad0872d02609ad8a3 (patch)
treee46f7b940c9fbd8297e897e1a6a1678b8c486906
parentee43b6c0d1583976334233c967a0b2c65b92ba84 (diff)
downloadcpython-d9578f96ef8d85fc18c6b35ad0872d02609ad8a3.zip
cpython-d9578f96ef8d85fc18c6b35ad0872d02609ad8a3.tar.gz
cpython-d9578f96ef8d85fc18c6b35ad0872d02609ad8a3.tar.bz2
Fix mark-up.
-rw-r--r--Doc/lib/libitertools.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libitertools.tex b/Doc/lib/libitertools.tex
index 88639dc..6f125a6 100644
--- a/Doc/lib/libitertools.tex
+++ b/Doc/lib/libitertools.tex
@@ -282,7 +282,7 @@ by functions or loops that truncate the stream.
This makes possible an idiom for clustering a data series into n-length
groups using \samp{izip(*[iter(s)]*n)}. For data that doesn't fit
n-length groups exactly, the last tuple can be pre-padded with fill
- values using \samp(izip(*[chain(s, [None]*(n-1))]*n)}.
+ values using \samp{izip(*[chain(s, [None]*(n-1))]*n)}.
Note, when \function{izip()} is used with unequal length inputs, subsequent
iteration over the longer iterables cannot reliably be continued after
@@ -291,7 +291,7 @@ by functions or loops that truncate the stream.
from each iterator in-turn, but the process ends when one of the iterators
terminates. This leaves the last fetched values in limbo (they cannot be
returned in a final, incomplete tuple and they are cannot be pushed back
- into the iterator for retrieval with \code{it.next()}. In general,
+ into the iterator for retrieval with \code{it.next()}). In general,
\function{izip()} should only be used with unequal length inputs when you
don't care about trailing, unmatched values from the longer iterables.
\end{funcdesc}