From: Guido van Rossum Date: Tue, 30 Aug 1994 12:08:58 +0000 (+0000) Subject: * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda X-Git-Tag: v1.1~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1be9d59e4b25a7185dc976b695532a397e838b0;p=thirdparty%2FPython%2Fcpython.git * Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda example --- diff --git a/Doc/tut.tex b/Doc/tut.tex index f20d77c54d37..55ff36f77b82 100644 --- a/Doc/tut.tex +++ b/Doc/tut.tex @@ -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} diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index f20d77c54d37..55ff36f77b82 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -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}