---
source: crates/ruff_python_parser/tests/fixtures.rs
input_file: crates/ruff_python_parser/resources/valid/statement/ambiguous_lpar_with_items.py
---
## AST

```
Module(
    ModModule {
        node_index: AtomicNodeIndex(..),
        range: 0..3620,
        body: [
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 588..604,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 594..598,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 594..598,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 601..604,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 601..604,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 605..622,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 611..615,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 611..615,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 619..622,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 619..622,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 648..668,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 654..662,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 656..660,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 665..668,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 665..668,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 669..693,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 675..680,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 675..680,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 682..687,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 682..687,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 690..693,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 690..693,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 694..719,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 700..705,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 700..705,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 707..712,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 707..712,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 716..719,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 716..719,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 745..794,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 751..758,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 752..757,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 760..767,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 761..766,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 769..779,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 769..774,
                                    id: Name("item3"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 778..779,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                        WithItem {
                            range: 781..788,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 782..787,
                                    id: Name("item4"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 791..794,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 791..794,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 795..828,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 801..815,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 801..815,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 802..807,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 809..814,
                                                id: Name("item2"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 817..822,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 817..822,
                                    id: Name("item3"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 825..828,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 825..828,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 829..852,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 835..846,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 835..841,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 836..837,
                                                id: Name("x"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 839..840,
                                                id: Name("y"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 845..846,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 849..852,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 849..852,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 853..889,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 859..870,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 859..864,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 868..870,
                                        id: Name("f1"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                        WithItem {
                            range: 872..883,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 872..877,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 881..883,
                                        id: Name("f2"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 886..889,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 886..889,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 890..927,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 896..907,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 896..901,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 905..907,
                                        id: Name("f1"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                        WithItem {
                            range: 909..920,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 909..914,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 918..920,
                                        id: Name("f2"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 924..927,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 924..927,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 953..976,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 959..969,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Compare(
                                ExprCompare {
                                    node_index: AtomicNodeIndex(..),
                                    range: 959..969,
                                    left: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 959..963,
                                            id: Name("item"),
                                            ctx: Load,
                                        },
                                    ),
                                    ops: [
                                        Eq,
                                    ],
                                    comparators: [
                                        NumberLiteral(
                                            ExprNumberLiteral {
                                                node_index: AtomicNodeIndex(..),
                                                range: 967..969,
                                                value: Int(
                                                    10,
                                                ),
                                            },
                                        ),
                                    ],
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 973..976,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 973..976,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 977..1001,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 983..995,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 984..994,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 984..988,
                                            id: Name("item"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 992..994,
                                            value: Int(
                                                10,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 998..1001,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 998..1001,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1002..1027,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1008..1021,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1008..1021,
                                    elts: [
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 1009..1019,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1009..1013,
                                                        id: Name("item"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1017..1019,
                                                        value: Int(
                                                            10,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1024..1027,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1024..1027,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1028..1048,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1034..1042,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1034..1042,
                                    elts: [
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 1035..1040,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1036..1040,
                                                        id: Name("item"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1045..1048,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1045..1048,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1049..1081,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1055..1068,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1056..1067,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1056..1061,
                                            id: Name("item1"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1065..1067,
                                            value: Int(
                                                10,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 1070..1075,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1070..1075,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1078..1081,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1078..1081,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1082..1119,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1088..1098,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1088..1093,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1097..1098,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                        WithItem {
                            range: 1100..1113,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1101..1112,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1101..1106,
                                            id: Name("item2"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1110..1112,
                                            value: Int(
                                                10,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1116..1119,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1116..1119,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1120..1137,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1126..1131,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1126..1131,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1126..1129,
                                            id: Name("foo"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1129..1131,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1134..1137,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1134..1137,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1138..1156,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1144..1149,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1144..1149,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1144..1147,
                                            id: Name("foo"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1147..1149,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1153..1156,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1153..1156,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1157..1179,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1163..1173,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1163..1168,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1163..1166,
                                            id: Name("foo"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1166..1168,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1172..1173,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1176..1179,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1176..1179,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1180..1207,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1186..1201,
                            node_index: AtomicNodeIndex(..),
                            context_expr: FString(
                                ExprFString {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1186..1201,
                                    value: FStringValue {
                                        inner: Single(
                                            FString(
                                                FString {
                                                    range: 1186..1201,
                                                    node_index: AtomicNodeIndex(..),
                                                    elements: [
                                                        Interpolation(
                                                            InterpolatedElement {
                                                                range: 1188..1200,
                                                                node_index: AtomicNodeIndex(..),
                                                                expression: Name(
                                                                    ExprName {
                                                                        node_index: AtomicNodeIndex(..),
                                                                        range: 1189..1193,
                                                                        id: Name("item"),
                                                                        ctx: Load,
                                                                    },
                                                                ),
                                                                debug_text: None,
                                                                conversion: None,
                                                                format_spec: Some(
                                                                    InterpolatedStringFormatSpec {
                                                                        range: 1195..1199,
                                                                        node_index: AtomicNodeIndex(..),
                                                                        elements: [
                                                                            Literal(
                                                                                InterpolatedStringLiteralElement {
                                                                                    range: 1195..1199,
                                                                                    node_index: AtomicNodeIndex(..),
                                                                                    value: "= 42",
                                                                                },
                                                                            ),
                                                                        ],
                                                                    },
                                                                ),
                                                            },
                                                        ),
                                                    ],
                                                    flags: FStringFlags {
                                                        quote_style: Double,
                                                        prefix: Regular,
                                                        triple_quoted: false,
                                                    },
                                                },
                                            ),
                                        ),
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1204..1207,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1204..1207,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1208..1237,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1214..1231,
                            node_index: AtomicNodeIndex(..),
                            context_expr: FString(
                                ExprFString {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1214..1231,
                                    value: FStringValue {
                                        inner: Single(
                                            FString(
                                                FString {
                                                    range: 1214..1231,
                                                    node_index: AtomicNodeIndex(..),
                                                    elements: [
                                                        Interpolation(
                                                            InterpolatedElement {
                                                                range: 1216..1230,
                                                                node_index: AtomicNodeIndex(..),
                                                                expression: Named(
                                                                    ExprNamed {
                                                                        node_index: AtomicNodeIndex(..),
                                                                        range: 1218..1228,
                                                                        target: Name(
                                                                            ExprName {
                                                                                node_index: AtomicNodeIndex(..),
                                                                                range: 1218..1222,
                                                                                id: Name("item"),
                                                                                ctx: Store,
                                                                            },
                                                                        ),
                                                                        value: NumberLiteral(
                                                                            ExprNumberLiteral {
                                                                                node_index: AtomicNodeIndex(..),
                                                                                range: 1226..1228,
                                                                                value: Int(
                                                                                    42,
                                                                                ),
                                                                            },
                                                                        ),
                                                                    },
                                                                ),
                                                                debug_text: None,
                                                                conversion: None,
                                                                format_spec: None,
                                                            },
                                                        ),
                                                    ],
                                                    flags: FStringFlags {
                                                        quote_style: Double,
                                                        prefix: Regular,
                                                        triple_quoted: false,
                                                    },
                                                },
                                            ),
                                        ),
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1234..1237,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1234..1237,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1238..1278,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1244..1266,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1244..1266,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1245..1246,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 1247..1265,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1251..1252,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Call(
                                                ExprCall {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1256..1265,
                                                    func: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1256..1261,
                                                            id: Name("range"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    arguments: Arguments {
                                                        range: 1261..1265,
                                                        node_index: AtomicNodeIndex(..),
                                                        args: [
                                                            NumberLiteral(
                                                                ExprNumberLiteral {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 1262..1264,
                                                                    value: Int(
                                                                        10,
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                        keywords: [],
                                                    },
                                                },
                                            ),
                                            ifs: [],
                                            is_async: false,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 1268..1272,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1268..1272,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1275..1278,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1275..1278,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1279..1319,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1285..1289,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1285..1289,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 1291..1313,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1291..1313,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1292..1293,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 1294..1312,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1298..1299,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Call(
                                                ExprCall {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1303..1312,
                                                    func: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1303..1308,
                                                            id: Name("range"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    arguments: Arguments {
                                                        range: 1308..1312,
                                                        node_index: AtomicNodeIndex(..),
                                                        args: [
                                                            NumberLiteral(
                                                                ExprNumberLiteral {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 1309..1311,
                                                                    value: Int(
                                                                        10,
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                        keywords: [],
                                                    },
                                                },
                                            ),
                                            ifs: [],
                                            is_async: false,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1316..1319,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1316..1319,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1320..1366,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1326..1330,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1326..1330,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 1332..1354,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1332..1354,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1333..1334,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 1335..1353,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1339..1340,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Call(
                                                ExprCall {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1344..1353,
                                                    func: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1344..1349,
                                                            id: Name("range"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    arguments: Arguments {
                                                        range: 1349..1353,
                                                        node_index: AtomicNodeIndex(..),
                                                        args: [
                                                            NumberLiteral(
                                                                ExprNumberLiteral {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 1350..1352,
                                                                    value: Int(
                                                                        10,
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                        keywords: [],
                                                    },
                                                },
                                            ),
                                            ifs: [],
                                            is_async: false,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 1356..1360,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1356..1360,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1363..1366,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1363..1366,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1367..1388,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1373..1382,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Subscript(
                                ExprSubscript {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1373..1382,
                                    value: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1373..1377,
                                            id: Name("data"),
                                            ctx: Load,
                                        },
                                    ),
                                    slice: Slice(
                                        ExprSlice {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1378..1381,
                                            lower: Some(
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1378..1379,
                                                        value: Int(
                                                            1,
                                                        ),
                                                    },
                                                ),
                                            ),
                                            upper: Some(
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1380..1381,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                            ),
                                            step: None,
                                        },
                                    ),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1385..1388,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1385..1388,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1389..1415,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1395..1409,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Subscript(
                                ExprSubscript {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1395..1404,
                                    value: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1395..1399,
                                            id: Name("data"),
                                            ctx: Load,
                                        },
                                    ),
                                    slice: Slice(
                                        ExprSlice {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1400..1403,
                                            lower: Some(
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1400..1401,
                                                        value: Int(
                                                            1,
                                                        ),
                                                    },
                                                ),
                                            ),
                                            upper: Some(
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 1402..1403,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                            ),
                                            step: None,
                                        },
                                    ),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1408..1409,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1412..1415,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1412..1415,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1416..1450,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1422..1444,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1422..1439,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1423..1424,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 1425..1438,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1429..1430,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1434..1438,
                                                    id: Name("iter"),
                                                    ctx: Load,
                                                },
                                            ),
                                            ifs: [],
                                            is_async: false,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1443..1444,
                                        id: Name("y"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1447..1450,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1447..1450,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1663..1684,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1668..1679,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1669..1673,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1678..1679,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1681..1684,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1681..1684,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1685..1707,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1690..1702,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1691..1701,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1691..1695,
                                            id: Name("item"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1699..1701,
                                            value: Int(
                                                10,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1704..1707,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1704..1707,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1708..1735,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1713..1730,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1714..1724,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1714..1718,
                                            id: Name("item"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1722..1724,
                                            value: Int(
                                                10,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1729..1730,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1732..1735,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1732..1735,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1736..1762,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1741..1757,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1744..1753,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1744..1748,
                                            id: Name("item"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1752..1753,
                                            value: Int(
                                                1,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1759..1762,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1759..1762,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1763..1793,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1768..1781,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Named(
                                ExprNamed {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1769..1780,
                                    target: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1769..1774,
                                            id: Name("item1"),
                                            ctx: Store,
                                        },
                                    ),
                                    value: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1778..1780,
                                            value: Int(
                                                42,
                                            ),
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 1783..1788,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1783..1788,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1790..1793,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1790..1793,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1794..1828,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1799..1823,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1799..1823,
                                    func: Attribute(
                                        ExprAttribute {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1799..1821,
                                            value: BinOp(
                                                ExprBinOp {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1800..1815,
                                                    left: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1800..1804,
                                                            id: Name("root"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    op: Add,
                                                    right: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1807..1815,
                                                            id: Name("filename"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                },
                                            ),
                                            attr: Identifier {
                                                id: Name("read"),
                                                range: 1817..1821,
                                                node_index: AtomicNodeIndex(..),
                                            },
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1821..1823,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1825..1828,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1825..1828,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1851..1890,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1856..1885,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1856..1880,
                                    func: Attribute(
                                        ExprAttribute {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1856..1878,
                                            value: BinOp(
                                                ExprBinOp {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 1857..1872,
                                                    left: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1857..1861,
                                                            id: Name("root"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    op: Add,
                                                    right: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 1864..1872,
                                                            id: Name("filename"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                },
                                            ),
                                            attr: Identifier {
                                                id: Name("read"),
                                                range: 1874..1878,
                                                node_index: AtomicNodeIndex(..),
                                            },
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1878..1880,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1884..1885,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1887..1890,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1887..1890,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1913..1930,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1918..1925,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1918..1925,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1919..1922,
                                            id: Name("foo"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1923..1925,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1927..1930,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1927..1930,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1953..1975,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 1958..1970,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 1958..1965,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 1959..1962,
                                            id: Name("foo"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 1963..1965,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1969..1970,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 1972..1975,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 1972..1975,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 1998..2020,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2003..2015,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2004..2009,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2004..2007,
                                            id: Name("foo"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 2007..2009,
                                        node_index: AtomicNodeIndex(..),
                                        args: [],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2014..2015,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2017..2020,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2017..2020,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2021..2047,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2026..2042,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Subscript(
                                ExprSubscript {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2027..2036,
                                    value: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2027..2031,
                                            id: Name("data"),
                                            ctx: Load,
                                        },
                                    ),
                                    slice: Slice(
                                        ExprSlice {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2032..2035,
                                            lower: Some(
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2032..2033,
                                                        value: Int(
                                                            1,
                                                        ),
                                                    },
                                                ),
                                            ),
                                            upper: Some(
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2034..2035,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                            ),
                                            step: None,
                                        },
                                    ),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2041..2042,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2044..2047,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2044..2047,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2048..2070,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2053..2065,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Subscript(
                                ExprSubscript {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2053..2065,
                                    value: Tuple(
                                        ExprTuple {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2053..2062,
                                            elts: [
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2054..2055,
                                                        value: Int(
                                                            1,
                                                        ),
                                                    },
                                                ),
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2057..2058,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2060..2061,
                                                        value: Int(
                                                            3,
                                                        ),
                                                    },
                                                ),
                                            ],
                                            ctx: Load,
                                            parenthesized: true,
                                        },
                                    ),
                                    slice: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2063..2064,
                                            value: Int(
                                                0,
                                            ),
                                        },
                                    ),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2067..2070,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2067..2070,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2093..2120,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2098..2115,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Subscript(
                                ExprSubscript {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2098..2110,
                                    value: Tuple(
                                        ExprTuple {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2098..2107,
                                            elts: [
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2099..2100,
                                                        value: Int(
                                                            1,
                                                        ),
                                                    },
                                                ),
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2102..2103,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                                NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2105..2106,
                                                        value: Int(
                                                            3,
                                                        ),
                                                    },
                                                ),
                                            ],
                                            ctx: Load,
                                            parenthesized: true,
                                        },
                                    ),
                                    slice: NumberLiteral(
                                        ExprNumberLiteral {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2108..2109,
                                            value: Int(
                                                0,
                                            ),
                                        },
                                    ),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2114..2115,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2117..2120,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2117..2120,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2143..2169,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2148..2155,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2149..2154,
                                    id: Name("item1"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 2157..2164,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2158..2163,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2166..2169,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2166..2169,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2170..2210,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2175..2189,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2176..2188,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2176..2180,
                                            id: Name("open"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 2180..2188,
                                        node_index: AtomicNodeIndex(..),
                                        args: [
                                            StringLiteral(
                                                ExprStringLiteral {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 2181..2187,
                                                    value: StringLiteralValue {
                                                        inner: Single(
                                                            StringLiteral {
                                                                range: 2181..2187,
                                                                node_index: AtomicNodeIndex(..),
                                                                value: "a.py",
                                                                flags: StringLiteralFlags {
                                                                    quote_style: Single,
                                                                    prefix: Empty,
                                                                    triple_quoted: false,
                                                                },
                                                            },
                                                        ),
                                                    },
                                                },
                                            ),
                                        ],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 2191..2205,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Call(
                                ExprCall {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2192..2204,
                                    func: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2192..2196,
                                            id: Name("open"),
                                            ctx: Load,
                                        },
                                    ),
                                    arguments: Arguments {
                                        range: 2196..2204,
                                        node_index: AtomicNodeIndex(..),
                                        args: [
                                            StringLiteral(
                                                ExprStringLiteral {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 2197..2203,
                                                    value: StringLiteralValue {
                                                        inner: Single(
                                                            StringLiteral {
                                                                range: 2197..2203,
                                                                node_index: AtomicNodeIndex(..),
                                                                value: "b.py",
                                                                flags: StringLiteralFlags {
                                                                    quote_style: Single,
                                                                    prefix: Empty,
                                                                    triple_quoted: false,
                                                                },
                                                            },
                                                        ),
                                                    },
                                                },
                                            ),
                                        ],
                                        keywords: [],
                                    },
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2207..2210,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2207..2210,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2211..2230,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2216..2225,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Yield(
                                ExprYield {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2217..2224,
                                    value: Some(
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2223..2224,
                                                id: Name("x"),
                                                ctx: Load,
                                            },
                                        ),
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2227..2230,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2227..2230,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2231..2252,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2237..2246,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Yield(
                                ExprYield {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2238..2245,
                                    value: Some(
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2244..2245,
                                                id: Name("x"),
                                                ctx: Load,
                                            },
                                        ),
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2249..2252,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2249..2252,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2253..2277,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2258..2272,
                            node_index: AtomicNodeIndex(..),
                            context_expr: YieldFrom(
                                ExprYieldFrom {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2259..2271,
                                    value: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2270..2271,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2274..2277,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2274..2277,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2278..2304,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2284..2298,
                            node_index: AtomicNodeIndex(..),
                            context_expr: YieldFrom(
                                ExprYieldFrom {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2285..2297,
                                    value: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 2296..2297,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2301..2304,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2301..2304,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2305..2329,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2310..2324,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Yield(
                                ExprYield {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2311..2318,
                                    value: Some(
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2317..2318,
                                                id: Name("x"),
                                                ctx: Load,
                                            },
                                        ),
                                    ),
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2323..2324,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2326..2329,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2326..2329,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2330..2355,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2335..2350,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Yield(
                                ExprYield {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2336..2344,
                                    value: Some(
                                        Tuple(
                                            ExprTuple {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2342..2344,
                                                elts: [
                                                    Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 2342..2343,
                                                            id: Name("x"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                ],
                                                ctx: Load,
                                                parenthesized: false,
                                            },
                                        ),
                                    ),
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2349..2350,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2352..2355,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2352..2355,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2741..2753,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2746..2748,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2746..2748,
                                    elts: [],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2750..2753,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2750..2753,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2754..2771,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2759..2766,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2759..2761,
                                    elts: [],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2765..2766,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2768..2771,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2768..2771,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2772..2795,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2777..2790,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2777..2790,
                                    elts: [
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2778..2788,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2778..2782,
                                                        id: Name("item"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2786..2788,
                                                        value: Int(
                                                            42,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2792..2795,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2792..2795,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2796..2820,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2801..2815,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2801..2815,
                                    elts: [
                                        NumberLiteral(
                                            ExprNumberLiteral {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2802..2803,
                                                value: Int(
                                                    1,
                                                ),
                                            },
                                        ),
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2805..2814,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2805..2809,
                                                        id: Name("item"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2813..2814,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2817..2820,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2817..2820,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2821..2851,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2826..2846,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2826..2846,
                                    elts: [
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2827..2838,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2827..2832,
                                                        id: Name("item1"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2836..2838,
                                                        value: Int(
                                                            10,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2840..2845,
                                                id: Name("item2"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2848..2851,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2848..2851,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2852..2893,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2857..2888,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2857..2883,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2858..2863,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2865..2875,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2865..2870,
                                                        id: Name("item2"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2874..2875,
                                                        value: Int(
                                                            2,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2877..2882,
                                                id: Name("item3"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2887..2888,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2890..2893,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2890..2893,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2894..2916,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2899..2911,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2899..2906,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2900..2904,
                                                id: Name("item"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2910..2911,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2913..2916,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2913..2916,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2917..2935,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2922..2930,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2922..2930,
                                    elts: [
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2923..2928,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2924..2928,
                                                        id: Name("item"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2932..2935,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2932..2935,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2936..2959,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2941..2954,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2941..2949,
                                    elts: [
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2942..2947,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 2943..2947,
                                                        id: Name("item"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2953..2954,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2956..2959,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2956..2959,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2960..2989,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2965..2984,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2965..2979,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2966..2971,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2973..2978,
                                                id: Name("item2"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2983..2984,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 2986..2989,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 2986..2989,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 2990..3020,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 2995..3015,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 2995..3010,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 2996..3001,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3003..3008,
                                                id: Name("item2"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3014..3015,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3017..3020,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3017..3020,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3021..3052,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3026..3040,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3026..3040,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3027..3032,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3034..3039,
                                                id: Name("item2"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 3042..3047,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3042..3047,
                                    id: Name("item3"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3049..3052,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3049..3052,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3053..3091,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3058..3086,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3058..3081,
                                    elts: [
                                        Tuple(
                                            ExprTuple {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3059..3073,
                                                elts: [
                                                    Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 3060..3065,
                                                            id: Name("item1"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 3067..3072,
                                                            id: Name("item2"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                ],
                                                ctx: Load,
                                                parenthesized: true,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3075..3080,
                                                id: Name("item3"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3085..3086,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3088..3091,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3088..3091,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3092..3138,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3097..3105,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3097..3105,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3098..3103,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 3107..3112,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3107..3112,
                                    id: Name("item2"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 3114..3133,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3114..3128,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3115..3120,
                                                id: Name("item3"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3122..3127,
                                                id: Name("item4"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3132..3133,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3135..3138,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3135..3138,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3139..3182,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3144..3164,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3144..3158,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3145..3150,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3152..3157,
                                                id: Name("item2"),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3162..3164,
                                        id: Name("f1"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                        WithItem {
                            range: 3166..3177,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3166..3171,
                                    id: Name("item3"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3175..3177,
                                        id: Name("f2"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3179..3182,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3179..3182,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3183..3208,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3188..3203,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3188..3203,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3189..3194,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3196..3202,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3197..3202,
                                                        id: Name("item2"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3205..3208,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3205..3208,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3209..3239,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3214..3234,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3214..3229,
                                    elts: [
                                        Name(
                                            ExprName {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3215..3220,
                                                id: Name("item1"),
                                                ctx: Load,
                                            },
                                        ),
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3222..3228,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3223..3228,
                                                        id: Name("item2"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: Some(
                                Name(
                                    ExprName {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3233..3234,
                                        id: Name("f"),
                                        ctx: Store,
                                    },
                                ),
                            ),
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3236..3239,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3236..3239,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3240..3271,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3245..3266,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3245..3266,
                                    elts: [
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3246..3257,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3246..3251,
                                                        id: Name("item1"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3255..3257,
                                                        value: Int(
                                                            10,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3259..3265,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3260..3265,
                                                        id: Name("item2"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3268..3271,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3268..3271,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3272..3305,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3277..3300,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Tuple(
                                ExprTuple {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3277..3300,
                                    elts: [
                                        Named(
                                            ExprNamed {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3279..3290,
                                                target: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3279..3284,
                                                        id: Name("item1"),
                                                        ctx: Store,
                                                    },
                                                ),
                                                value: NumberLiteral(
                                                    ExprNumberLiteral {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3288..3290,
                                                        value: Int(
                                                            10,
                                                        ),
                                                    },
                                                ),
                                            },
                                        ),
                                        Starred(
                                            ExprStarred {
                                                node_index: AtomicNodeIndex(..),
                                                range: 3293..3299,
                                                value: Name(
                                                    ExprName {
                                                        node_index: AtomicNodeIndex(..),
                                                        range: 3294..3299,
                                                        id: Name("item2"),
                                                        ctx: Load,
                                                    },
                                                ),
                                                ctx: Load,
                                            },
                                        ),
                                    ],
                                    ctx: Load,
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3302..3305,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3302..3305,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3510..3542,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3515..3537,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3515..3537,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 3516..3517,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 3518..3536,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 3522..3523,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Call(
                                                ExprCall {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 3527..3536,
                                                    func: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 3527..3532,
                                                            id: Name("range"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    arguments: Arguments {
                                                        range: 3532..3536,
                                                        node_index: AtomicNodeIndex(..),
                                                        args: [
                                                            NumberLiteral(
                                                                ExprNumberLiteral {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 3533..3535,
                                                                    value: Int(
                                                                        10,
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                        keywords: [],
                                                    },
                                                },
                                            ),
                                            ifs: [],
                                            is_async: false,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3539..3542,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3539..3542,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3543..3581,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3548..3576,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3548..3576,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 3549..3550,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 3551..3575,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 3561..3562,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Call(
                                                ExprCall {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 3566..3575,
                                                    func: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 3566..3571,
                                                            id: Name("range"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    arguments: Arguments {
                                                        range: 3571..3575,
                                                        node_index: AtomicNodeIndex(..),
                                                        args: [
                                                            NumberLiteral(
                                                                ExprNumberLiteral {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 3572..3574,
                                                                    value: Int(
                                                                        10,
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                        keywords: [],
                                                    },
                                                },
                                            ),
                                            ifs: [],
                                            is_async: true,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3578..3581,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3578..3581,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
            With(
                StmtWith {
                    node_index: AtomicNodeIndex(..),
                    range: 3582..3620,
                    is_async: false,
                    items: [
                        WithItem {
                            range: 3587..3609,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Generator(
                                ExprGenerator {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3587..3609,
                                    elt: Name(
                                        ExprName {
                                            node_index: AtomicNodeIndex(..),
                                            range: 3588..3589,
                                            id: Name("x"),
                                            ctx: Load,
                                        },
                                    ),
                                    generators: [
                                        Comprehension {
                                            range: 3590..3608,
                                            node_index: AtomicNodeIndex(..),
                                            target: Name(
                                                ExprName {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 3594..3595,
                                                    id: Name("x"),
                                                    ctx: Store,
                                                },
                                            ),
                                            iter: Call(
                                                ExprCall {
                                                    node_index: AtomicNodeIndex(..),
                                                    range: 3599..3608,
                                                    func: Name(
                                                        ExprName {
                                                            node_index: AtomicNodeIndex(..),
                                                            range: 3599..3604,
                                                            id: Name("range"),
                                                            ctx: Load,
                                                        },
                                                    ),
                                                    arguments: Arguments {
                                                        range: 3604..3608,
                                                        node_index: AtomicNodeIndex(..),
                                                        args: [
                                                            NumberLiteral(
                                                                ExprNumberLiteral {
                                                                    node_index: AtomicNodeIndex(..),
                                                                    range: 3605..3607,
                                                                    value: Int(
                                                                        10,
                                                                    ),
                                                                },
                                                            ),
                                                        ],
                                                        keywords: [],
                                                    },
                                                },
                                            ),
                                            ifs: [],
                                            is_async: false,
                                        },
                                    ],
                                    parenthesized: true,
                                },
                            ),
                            optional_vars: None,
                        },
                        WithItem {
                            range: 3611..3615,
                            node_index: AtomicNodeIndex(..),
                            context_expr: Name(
                                ExprName {
                                    node_index: AtomicNodeIndex(..),
                                    range: 3611..3615,
                                    id: Name("item"),
                                    ctx: Load,
                                },
                            ),
                            optional_vars: None,
                        },
                    ],
                    body: [
                        Expr(
                            StmtExpr {
                                node_index: AtomicNodeIndex(..),
                                range: 3617..3620,
                                value: EllipsisLiteral(
                                    ExprEllipsisLiteral {
                                        node_index: AtomicNodeIndex(..),
                                        range: 3617..3620,
                                    },
                                ),
                            },
                        ),
                    ],
                },
            ),
        ],
    },
)
```
