Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a10d1 commit db7dcffCopy full SHA for db7dcff
1 file changed
Doc/lib/libitertools.tex
@@ -132,9 +132,9 @@ \subsection{Itertool functions \label{itertools-functions}}
132
133
\begin{funcdesc}{groupby}{iterable\optional{, key}}
134
Make an iterator that returns consecutive keys and groups from the
135
- \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
136
element. If not specified or is \code{None}, \var{key} defaults to an
137
- identity function (returning the element unchanged). Generally, the
+ identity function and returns the element unchanged. Generally, the
138
iterable needs to already be sorted on the same key function.
139
140
The returned group is itself an iterator that shares the underlying
0 commit comments