* Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
example
This commit is contained in:
parent
275b0a44d5
commit
c1be9d59e4
|
@ -2864,7 +2864,7 @@ overcome through the judicious use of default argument values, e.g.
|
|||
|
||||
\begin{verbatim}
|
||||
def make_incrementor(n):
|
||||
return lambda(x, incr=n): x+incr
|
||||
return lambda x, incr=n: x+incr
|
||||
\end{verbatim}
|
||||
|
||||
\subsection{Map, Reduce and Filter}
|
||||
|
|
|
@ -2864,7 +2864,7 @@ overcome through the judicious use of default argument values, e.g.
|
|||
|
||||
\begin{verbatim}
|
||||
def make_incrementor(n):
|
||||
return lambda(x, incr=n): x+incr
|
||||
return lambda x, incr=n: x+incr
|
||||
\end{verbatim}
|
||||
|
||||
\subsection{Map, Reduce and Filter}
|
||||
|
|
Loading…
Reference in New Issue