]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix mark-up.
authorRaymond Hettinger <python@rcn.com>
Sun, 26 Mar 2006 01:43:15 +0000 (01:43 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 26 Mar 2006 01:43:15 +0000 (01:43 +0000)
Doc/lib/libitertools.tex

index 88639dc82cb00bc3f970e6b1336ad7de0e9452fe..6f125a651790a2778277bfc58f20bb5ff7a9ba13 100644 (file)
@@ -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}