diff options
author | Raymond Hettinger <python@rcn.com> | 2004-07-11 13:20:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-07-11 13:20:11 (GMT) |
commit | 88e8e34ab0628f92d01f0c57f7b6a02b9354a41a (patch) | |
tree | d223e5f8d52247ab0cba5439a862ea241bf2e5a5 /Doc/lib | |
parent | 44dc13bf3eee6a4451f129b0cdf15a8b103336b0 (diff) | |
download | cpython-88e8e34ab0628f92d01f0c57f7b6a02b9354a41a.zip cpython-88e8e34ab0628f92d01f0c57f7b6a02b9354a41a.tar.gz cpython-88e8e34ab0628f92d01f0c57f7b6a02b9354a41a.tar.bz2 |
Style nit.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libitertools.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libitertools.tex b/Doc/lib/libitertools.tex index b73ffce..df73561 100644 --- a/Doc/lib/libitertools.tex +++ b/Doc/lib/libitertools.tex @@ -133,7 +133,7 @@ by functions or loops that truncate the stream. \begin{funcdesc}{groupby}{iterable\optional{, key}} Make an iterator that returns consecutive keys and groups from the - \var{iterable}. \var{key} is a function computing a key value for each + \var{iterable}. The \var{key} is a function computing a key value for each element. If not specified or is \code{None}, \var{key} defaults to an identity function and returns the element unchanged. Generally, the iterable needs to already be sorted on the same key function. @@ -332,7 +332,7 @@ by functions or loops that truncate the stream. \begin{funcdesc}{tee}{iterable\optional{, n=2}} Return \var{n} independent iterators from a single iterable. - The case where \var{n} is two is equivalent to: + The case where \code{n==2} is equivalent to: \begin{verbatim} def tee(iterable): |