Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db7dcff

Browse files
committed
Edit description a bit
1 parent b7a10d1 commit db7dcff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/libitertools.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ \subsection{Itertool functions \label{itertools-functions}}
132132

133133
\begin{funcdesc}{groupby}{iterable\optional{, key}}
134134
Make an iterator that returns consecutive keys and groups from the
135-
\var{iterable}. \var{key} is function computing a key value for each
135+
\var{iterable}. \var{key} is a function computing a key value for each
136136
element. If not specified or is \code{None}, \var{key} defaults to an
137-
identity function (returning the element unchanged). Generally, the
137+
identity function and returns the element unchanged. Generally, the
138138
iterable needs to already be sorted on the same key function.
139139

140140
The returned group is itself an iterator that shares the underlying

0 commit comments

Comments
 (0)