* Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda

example
This commit is contained in:
Guido van Rossum 1994-08-30 12:08:58 +00:00
parent 275b0a44d5
commit c1be9d59e4
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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}