diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ast.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c index 55fe58c..c0d67a15 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -1935,9 +1935,7 @@ ast_for_decorated(struct compiling *c, const node *n) static expr_ty ast_for_namedexpr(struct compiling *c, const node *n) { - /* if_stmt: 'if' namedexpr_test ':' suite ('elif' namedexpr_test ':' suite)* - ['else' ':' suite] - namedexpr_test: test [':=' test] + /* namedexpr_test: test [':=' test] argument: ( test [comp_for] | test ':=' test | test '=' test | |