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 @@ -627,7 +627,7 @@ Glossary
627
627
lambda
628
628
An anonymous inline function consisting of a single :term: `expression `
629
629
which is evaluated when the function is called. The syntax to create
630
- a lambda function is ``lambda [arguments ]: expression ``
630
+ a lambda function is ``lambda [parameters ]: expression ``
631
631
632
632
LBYL
633
633
Look before you leap. This coding style explicitly tests for
Original file line number Diff line number Diff line change @@ -1608,12 +1608,12 @@ Lambdas
1608
1608
lambda_expr_nocond: "lambda" [`parameter_list `]: `expression_nocond `
1609
1609
1610
1610
Lambda expressions (sometimes called lambda forms) are used to create anonymous
1611
- functions. The expression ``lambda arguments : expression `` yields a function
1611
+ functions. The expression ``lambda parameters : expression `` yields a function
1612
1612
object. The unnamed object behaves like a function object defined with:
1613
1613
1614
1614
.. code-block :: none
1615
1615
1616
- def <lambda>(arguments ):
1616
+ def <lambda>(parameters ):
1617
1617
return expression
1618
1618
1619
1619
See section :ref: `function ` for the syntax of parameter lists. Note that
You can’t perform that action at this time.
0 commit comments