diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 08:26:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 08:26:58 (GMT) |
commit | cff39b0120884169d4eb99c9c825bf6c25594830 (patch) | |
tree | 8b2653303269ed7631f1a5ef3b58a201188745f8 /Doc/tutorial | |
parent | d6d26ec9089b8f474a1b6911cb078d8de531867b (diff) | |
download | cpython-cff39b0120884169d4eb99c9c825bf6c25594830.zip cpython-cff39b0120884169d4eb99c9c825bf6c25594830.tar.gz cpython-cff39b0120884169d4eb99c9c825bf6c25594830.tar.bz2 |
Use "lambda expression" as preferred to "lambda form".
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 82fbb82..4de9ec9 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -546,7 +546,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 |