ruff
184241f9 - Remove `Expr` postfix from `ExprNamed`, `ExprIf`, and `ExprGenerator` (#10229)

Commit
1 year ago
Remove `Expr` postfix from `ExprNamed`, `ExprIf`, and `ExprGenerator` (#10229) The expression types in our AST are called `ExprYield`, `ExprAwait`, `ExprStringLiteral` etc, except `ExprNamedExpr`, `ExprIfExpr` and `ExprGenratorExpr`. This seems to align with [Python AST's naming](https://docs.python.org/3/library/ast.html) but feels inconsistent and excessive. This PR removes the `Expr` postfix from `ExprNamedExpr`, `ExprIfExpr`, and `ExprGeneratorExpr`.
Author
Parents
Loading