summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/tut.tex2
-rw-r--r--Doc/tut/tut.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tut.tex b/Doc/tut.tex
index f20d77c..55ff36f 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 f20d77c..55ff36f 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}