mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 15:44:22 -05:00
Add parenthesized flag to ExprTuple and ExprGenerator (#9614)
This commit is contained in:
@@ -970,6 +970,7 @@ impl<'a> Generator<'a> {
|
||||
Expr::GeneratorExp(ast::ExprGeneratorExp {
|
||||
elt,
|
||||
generators,
|
||||
parenthesized: _,
|
||||
range: _,
|
||||
}) => {
|
||||
self.p("(");
|
||||
@@ -1037,6 +1038,7 @@ impl<'a> Generator<'a> {
|
||||
elt,
|
||||
generators,
|
||||
range: _,
|
||||
parenthesized: _,
|
||||
})],
|
||||
[],
|
||||
) = (arguments.args.as_ref(), arguments.keywords.as_ref())
|
||||
|
||||
Reference in New Issue
Block a user