---
source: crates/ruff_python_parser/tests/fixtures.rs
input_file: crates/ruff_python_parser/resources/inline/ok/args_unparenthesized_generator.py
---
## AST

```
Module(
    ModModule {
        node_index: AtomicNodeIndex(..),
        range: 0..107,
        body: [
            Expr(
                StmtExpr {
                    node_index: AtomicNodeIndex(..),
                    range: 0..51,
                    value: Call(
                        ExprCall {
                            node_index: AtomicNodeIndex(..),
                            range: 0..51,
                            func: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 0..3,
                                    id: Name("zip"),
                                    ctx: Load,
                                },
                            ),
                            arguments: Arguments {
                                range: 3..51,
                                node_index: AtomicNodeIndex(..),
                                args: [
                                    Generator(
                                        ExprGenerator {
                                            node_index: AtomicNodeIndex(..),
                                            range: 4..26,
                                            elt: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 5..6,
                                                    id: Name("x"),
                                                    ctx: Load,
                                                },
                                            ),
                                            generators: [
                                                Comprehension {
                                                    range: 7..25,
                                                    node_index: AtomicNodeIndex(..),
                                                    target: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 11..12,
                                                            id: Name("x"),
                                                            ctx: Store,
                                                        },
                                                    ),
                                                    iter: Call(
                                                        ExprCall {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 16..25,
                                                            func: Name(
                                                                ExprName {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 16..21,
                                                                    id: Name("range"),
                                                                    ctx: Load,
                                                                },
                                                            ),
                                                            arguments: Arguments {
                                                                range: 21..25,
                                                                node_index: AtomicNodeIndex(..),
                                                                args: [
                                                                    NumberLiteral(
                                                                        ExprNumberLiteral {
                                                                            node_index: AtomicNodeIndex(..),
                                                                            range: 22..24,
                                                                            value: Int(
                                                                                10,
                                                                            ),
                                                                        },
                                                                    ),
                                                                ],
                                                                keywords: [],
                                                            },
                                                        },
                                                    ),
                                                    ifs: [],
                                                    is_async: false,
                                                },
                                            ],
                                            parenthesized: true,
                                        },
                                    ),
                                    Generator(
                                        ExprGenerator {
                                            node_index: AtomicNodeIndex(..),
                                            range: 28..50,
                                            elt: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 29..30,
                                                    id: Name("y"),
                                                    ctx: Load,
                                                },
                                            ),
                                            generators: [
                                                Comprehension {
                                                    range: 31..49,
                                                    node_index: AtomicNodeIndex(..),
                                                    target: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 35..36,
                                                            id: Name("y"),
                                                            ctx: Store,
                                                        },
                                                    ),
                                                    iter: Call(
                                                        ExprCall {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 40..49,
                                                            func: Name(
                                                                ExprName {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 40..45,
                                                                    id: Name("range"),
                                                                    ctx: Load,
                                                                },
                                                            ),
                                                            arguments: Arguments {
                                                                range: 45..49,
                                                                node_index: AtomicNodeIndex(..),
                                                                args: [
                                                                    NumberLiteral(
                                                                        ExprNumberLiteral {
                                                                            node_index: AtomicNodeIndex(..),
                                                                            range: 46..48,
                                                                            value: Int(
                                                                                10,
                                                                            ),
                                                                        },
                                                                    ),
                                                                ],
                                                                keywords: [],
                                                            },
                                                        },
                                                    ),
                                                    ifs: [],
                                                    is_async: false,
                                                },
                                            ],
                                            parenthesized: true,
                                        },
                                    ),
                                ],
                                keywords: [],
                            },
                        },
                    ),
                },
            ),
            Expr(
                StmtExpr {
                    node_index: AtomicNodeIndex(..),
                    range: 52..77,
                    value: Call(
                        ExprCall {
                            node_index: AtomicNodeIndex(..),
                            range: 52..77,
                            func: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 52..55,
                                    id: Name("sum"),
                                    ctx: Load,
                                },
                            ),
                            arguments: Arguments {
                                range: 55..77,
                                node_index: AtomicNodeIndex(..),
                                args: [
                                    Generator(
                                        ExprGenerator {
                                            node_index: AtomicNodeIndex(..),
                                            range: 56..76,
                                            elt: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 56..57,
                                                    id: Name("x"),
                                                    ctx: Load,
                                                },
                                            ),
                                            generators: [
                                                Comprehension {
                                                    range: 58..76,
                                                    node_index: AtomicNodeIndex(..),
                                                    target: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 62..63,
                                                            id: Name("x"),
                                                            ctx: Store,
                                                        },
                                                    ),
                                                    iter: Call(
                                                        ExprCall {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 67..76,
                                                            func: Name(
                                                                ExprName {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 67..72,
                                                                    id: Name("range"),
                                                                    ctx: Load,
                                                                },
                                                            ),
                                                            arguments: Arguments {
                                                                range: 72..76,
                                                                node_index: AtomicNodeIndex(..),
                                                                args: [
                                                                    NumberLiteral(
                                                                        ExprNumberLiteral {
                                                                            node_index: AtomicNodeIndex(..),
                                                                            range: 73..75,
                                                                            value: Int(
                                                                                10,
                                                                            ),
                                                                        },
                                                                    ),
                                                                ],
                                                                keywords: [],
                                                            },
                                                        },
                                                    ),
                                                    ifs: [],
                                                    is_async: false,
                                                },
                                            ],
                                            parenthesized: false,
                                        },
                                    ),
                                ],
                                keywords: [],
                            },
                        },
                    ),
                },
            ),
            Expr(
                StmtExpr {
                    node_index: AtomicNodeIndex(..),
                    range: 78..106,
                    value: Call(
                        ExprCall {
                            node_index: AtomicNodeIndex(..),
                            range: 78..106,
                            func: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 78..81,
                                    id: Name("sum"),
                                    ctx: Load,
                                },
                            ),
                            arguments: Arguments {
                                range: 81..106,
                                node_index: AtomicNodeIndex(..),
                                args: [
                                    Generator(
                                        ExprGenerator {
                                            node_index: AtomicNodeIndex(..),
                                            range: 82..104,
                                            elt: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 83..84,
                                                    id: Name("x"),
                                                    ctx: Load,
                                                },
                                            ),
                                            generators: [
                                                Comprehension {
                                                    range: 85..103,
                                                    node_index: AtomicNodeIndex(..),
                                                    target: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 89..90,
                                                            id: Name("x"),
                                                            ctx: Store,
                                                        },
                                                    ),
                                                    iter: Call(
                                                        ExprCall {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 94..103,
                                                            func: Name(
                                                                ExprName {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 94..99,
                                                                    id: Name("range"),
                                                                    ctx: Load,
                                                                },
                                                            ),
                                                            arguments: Arguments {
                                                                range: 99..103,
                                                                node_index: AtomicNodeIndex(..),
                                                                args: [
                                                                    NumberLiteral(
                                                                        ExprNumberLiteral {
                                                                            node_index: AtomicNodeIndex(..),
                                                                            range: 100..102,
                                                                            value: Int(
                                                                                10,
                                                                            ),
                                                                        },
                                                                    ),
                                                                ],
                                                                keywords: [],
                                                            },
                                                        },
                                                    ),
                                                    ifs: [],
                                                    is_async: false,
                                                },
                                            ],
                                            parenthesized: true,
                                        },
                                    ),
                                ],
                                keywords: [],
                            },
                        },
                    ),
                },
            ),
        ],
    },
)
```
