summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/controlflow.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 08:28:39 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 08:28:39 (GMT)
commit242e6a0bce9143c62262817b17b46d32a3c916a3 (patch)
tree6809c08bba20801364c960703908693a6721baf0 /Doc/tutorial/controlflow.rst
parentde5aff1bdc65a562c15cdd5a661dc666cb25ec16 (diff)
downloadcpython-242e6a0bce9143c62262817b17b46d32a3c916a3.zip
cpython-242e6a0bce9143c62262817b17b46d32a3c916a3.tar.gz
cpython-242e6a0bce9143c62262817b17b46d32a3c916a3.tar.bz2
Use "lambda expression" as preferred to "lambda form".
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 56df73d..52e382e 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -588,7 +588,7 @@ Lambda Expressions
Small anonymous functions can be created with the :keyword:`lambda` keyword.
This function returns the sum of its two arguments: ``lambda a, b: a+b``.
-Lambda forms can be used wherever function objects are required. They are
+Lambda functions can be used wherever function objects are required. They are
syntactically restricted to a single expression. Semantically, they are just
syntactic sugar for a normal function definition. Like nested function
definitions, lambda functions can reference variables from the containing