summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-12-06 22:29:43 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-12-06 22:29:43 (GMT)
commitdb7dcffa27424fde33b52118f22d5ddf5e998e3d (patch)
tree99b9afd82ea7eae02333dccf2efd424f59da2256
parentb7a10d1bc58d6d8f58afaed2bbe6f32284d9487a (diff)
downloadcpython-db7dcffa27424fde33b52118f22d5ddf5e998e3d.zip
cpython-db7dcffa27424fde33b52118f22d5ddf5e998e3d.tar.gz
cpython-db7dcffa27424fde33b52118f22d5ddf5e998e3d.tar.bz2
Edit description a bit
-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 82912b0..cd867b0 100644
--- a/Doc/lib/libitertools.tex
+++ b/Doc/lib/libitertools.tex
@@ -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 a 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