summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-30 12:08:58 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-30 12:08:58 (GMT)
commitc1be9d59e4b25a7185dc976b695532a397e838b0 (patch)
tree743eff3e2b6255d8a54846de38dc189b3ad95f98
parent275b0a44d580e20f7bf4e14cab5f6d754e694dec (diff)
downloadcpython-c1be9d59e4b25a7185dc976b695532a397e838b0.zip
cpython-c1be9d59e4b25a7185dc976b695532a397e838b0.tar.gz
cpython-c1be9d59e4b25a7185dc976b695532a397e838b0.tar.bz2
* Doc/tut.tex (subsection{Lambda Forms}): fix typo in lambda
example
-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}