We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39afa2d commit b08d3f7Copy full SHA for b08d3f7
Python/ast.c
@@ -1935,9 +1935,7 @@ ast_for_decorated(struct compiling *c, const node *n)
1935
static expr_ty
1936
ast_for_namedexpr(struct compiling *c, const node *n)
1937
{
1938
- /* if_stmt: 'if' namedexpr_test ':' suite ('elif' namedexpr_test ':' suite)*
1939
- ['else' ':' suite]
1940
- namedexpr_test: test [':=' test]
+ /* namedexpr_test: test [':=' test]
1941
argument: ( test [comp_for] |
1942
test ':=' test |
1943
test '=' test |
0 commit comments