]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Edit description a bit
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 6 Dec 2003 22:29:43 +0000 (22:29 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 6 Dec 2003 22:29:43 +0000 (22:29 +0000)
Doc/lib/libitertools.tex

index 82912b05012fcbb1528a2d1b39e361da641c1964..cd867b00ac9602e8a6ed239698563a84c64f9660 100644 (file)
@@ -132,9 +132,9 @@ 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 function computing a key value for each
+  \var{iterable}.  \var{key} is function computing a key value for each
   element.  If not specified or is \code{None}, \var{key} defaults to an
-  identity function   (returning the element unchanged).  Generally, the
+  identity function and returns  the element unchanged.  Generally, the
   iterable needs to already be sorted on the same key function.
 
   The returned group is itself an iterator that shares the underlying