Commit 88e8e34a authored by Raymond Hettinger's avatar Raymond Hettinger

Style nit.

parent 44dc13bf
...@@ -133,7 +133,7 @@ by functions or loops that truncate the stream. ...@@ -133,7 +133,7 @@ by functions or loops that truncate the stream.
\begin{funcdesc}{groupby}{iterable\optional{, key}} \begin{funcdesc}{groupby}{iterable\optional{, key}}
Make an iterator that returns consecutive keys and groups from the Make an iterator that returns consecutive keys and groups from the
\var{iterable}. \var{key} is a function computing a key value for each \var{iterable}. The \var{key} is a function computing a key value for each
element. If not specified or is \code{None}, \var{key} defaults to an element. If not specified or is \code{None}, \var{key} defaults to an
identity function and returns 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. iterable needs to already be sorted on the same key function.
...@@ -332,7 +332,7 @@ by functions or loops that truncate the stream. ...@@ -332,7 +332,7 @@ by functions or loops that truncate the stream.
\begin{funcdesc}{tee}{iterable\optional{, n=2}} \begin{funcdesc}{tee}{iterable\optional{, n=2}}
Return \var{n} independent iterators from a single iterable. Return \var{n} independent iterators from a single iterable.
The case where \var{n} is two is equivalent to: The case where \code{n==2} is equivalent to:
\begin{verbatim} \begin{verbatim}
def tee(iterable): def tee(iterable):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment