File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ Glossary
603
603
lambda
604
604
An anonymous inline function consisting of a single :term: `expression `
605
605
which is evaluated when the function is called. The syntax to create
606
- a lambda function is ``lambda [arguments ]: expression ``
606
+ a lambda function is ``lambda [parameters ]: expression ``
607
607
608
608
LBYL
609
609
Look before you leap. This coding style explicitly tests for
Original file line number Diff line number Diff line change @@ -1613,12 +1613,12 @@ Lambdas
1613
1613
lambda_expr_nocond: "lambda" [`parameter_list `]: `expression_nocond `
1614
1614
1615
1615
Lambda expressions (sometimes called lambda forms) are used to create anonymous
1616
- functions. The expression ``lambda arguments : expression `` yields a function
1616
+ functions. The expression ``lambda parameters : expression `` yields a function
1617
1617
object. The unnamed object behaves like a function object defined with:
1618
1618
1619
1619
.. code-block :: none
1620
1620
1621
- def <lambda>(arguments ):
1621
+ def <lambda>(parameters ):
1622
1622
return expression
1623
1623
1624
1624
See section :ref: `function ` for the syntax of parameter lists. Note that
You can’t perform that action at this time.
0 commit comments