summaryrefslogtreecommitdiffstats
path: root/Doc/ref/ref7.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-12-17 12:13:53 (GMT)
committerGuido van Rossum <guido@python.org>1993-12-17 12:13:53 (GMT)
commit3cbc16d9041fe1fa87356bdacc2f1ad52fb99a89 (patch)
tree75beb159dc2d0d9d19de7ea7352ae1afa48d8b17 /Doc/ref/ref7.tex
parent67a5fdbcc2d86cda9ee2efb7a97cb458036d6927 (diff)
downloadcpython-3cbc16d9041fe1fa87356bdacc2f1ad52fb99a89.zip
cpython-3cbc16d9041fe1fa87356bdacc2f1ad52fb99a89.tar.gz
cpython-3cbc16d9041fe1fa87356bdacc2f1ad52fb99a89.tar.bz2
* lib2.tex (sys): updated sys.std{in,out,err} docs. Added
sys.tracebacklimit. * tut.tex (Exceptions): change text printed by traceback. * lib5.tex (audioop): added minmax. * lib5.tex (audioop.getsample): move wandered paragraph back * lib3.tex, partparse.py: undo mucking with \nopagebreak (didn't work). * partparse.py: ignore \nopagebreak command * ref5.tex: added description of lambda forms. * ref7.tex: added reference to lambda forms to section on function definition. * lib1.tex: removed lambda as built-in function (it is now a special form). Also removed feature of filter, map, reduce to turn a string argument into an anonymous function.
Diffstat (limited to 'Doc/ref/ref7.tex')
-rw-r--r--Doc/ref/ref7.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/ref/ref7.tex b/Doc/ref/ref7.tex
index 0f96c82..670eec0 100644
--- a/Doc/ref/ref7.tex
+++ b/Doc/ref/ref7.tex
@@ -292,6 +292,10 @@ parameters) are bound to the (formal) parameters, as follows:
\indexii{parameter}{formal}
\indexii{parameter}{actual}
+It is also possible to create anonymous functions (functions not bound
+to a name), for immediate use in expressions. This uses lambda forms,
+described in section \ref{lambda}.
+
\begin{itemize}
\item