mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-13 15:18:28 +00:00
Add parenthesized
flag to ExprTuple
and ExprGenerator
(#9614)
This commit is contained in:
parent
ab4bd71755
commit
77c5561646
65 changed files with 391 additions and 139 deletions
|
@ -2430,6 +2430,7 @@ impl AstNode for ast::ExprGeneratorExp {
|
|||
elt,
|
||||
generators,
|
||||
range: _,
|
||||
parenthesized: _,
|
||||
} = self;
|
||||
visitor.visit_expr(elt);
|
||||
for comprehension in generators {
|
||||
|
@ -3256,6 +3257,7 @@ impl AstNode for ast::ExprTuple {
|
|||
elts,
|
||||
ctx: _,
|
||||
range: _,
|
||||
parenthesized: _,
|
||||
} = self;
|
||||
|
||||
for expr in elts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue