File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ \subsection{Itertool functions \label{itertools-functions}}
133133
134134\begin {funcdesc }{groupby}{iterable\optional {, key}}
135135 Make an iterator that returns consecutive keys and groups from the
136- \var {iterable}. \var {key} is a function computing a key value for each
136+ \var {iterable}. The \var {key} is a function computing a key value for each
137137 element. If not specified or is \code {None}, \var {key} defaults to an
138138 identity function and returns the element unchanged. Generally, the
139139 iterable needs to already be sorted on the same key function.
@@ -332,7 +332,7 @@ \subsection{Itertool functions \label{itertools-functions}}
332332
333333\begin {funcdesc }{tee}{iterable\optional {, n=2}}
334334 Return \var {n} independent iterators from a single iterable.
335- The case where \var {n} is two is equivalent to:
335+ The case where \code {n==2} is equivalent to:
336336
337337 \begin {verbatim }
338338 def tee(iterable):
You can’t perform that action at this time.
0 commit comments