@@ -1218,8 +1218,8 @@ Conditional expressions
12181218
12191219.. productionlist ::
12201220 conditional_expression: `or_test ` ["if" `or_test ` "else" `expression `]
1221- expression: `conditional_expression ` | `lambda_form `
1222- expression_nocond: `or_test ` | `lambda_form_nocond `
1221+ expression: `conditional_expression ` | `lambda_expr `
1222+ expression_nocond: `or_test ` | `lambda_expr_nocond `
12231223
12241224Conditional expressions (sometimes called a "ternary operator") have the lowest
12251225priority of all Python operations.
@@ -1243,10 +1243,10 @@ Lambdas
12431243 pair: anonymous; function
12441244
12451245.. productionlist ::
1246- lambda_form : "lambda" [`parameter_list `]: `expression `
1247- lambda_form_nocond : "lambda" [`parameter_list `]: `expression_nocond `
1246+ lambda_expr : "lambda" [`parameter_list `]: `expression `
1247+ lambda_expr_nocond : "lambda" [`parameter_list `]: `expression_nocond `
12481248
1249- Lambda forms ( lambda expressions ) have the same syntactic position as
1249+ Lambda expressions (sometimes called lambda forms ) have the same syntactic position as
12501250expressions. They are a shorthand to create anonymous functions; the expression
12511251``lambda arguments: expression `` yields a function object. The unnamed object
12521252behaves like a function object defined with ::
@@ -1255,7 +1255,8 @@ behaves like a function object defined with ::
12551255 return expression
12561256
12571257See section :ref: `function ` for the syntax of parameter lists. Note that
1258- functions created with lambda forms cannot contain statements or annotations.
1258+ functions created with lambda expressions cannot contain statements or
1259+ annotations.
12591260
12601261
12611262.. _exprlists :
0 commit comments