Module Expr Str ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list decorator_list
N/A N/A Fixer that addes parentheses where they are required

This converts ``[x for x in 1, 2]`` to ``[x for x in (1, 2)]``. N/A fixer_base fixer_util LParen RParen FixParen N/A N/A fixer_base BaseFix N/A N/A BM_compatible True N/A PATTERN 
        atom< ('[' | '(')
            (listmaker< any
                comp_for<
                    'for' NAME 'in'
                    target=testlist_safe< any (',' any)+ [',']
                     >
                    [any]
                >
            >
            |
            testlist_gexp< any
                comp_for<
                    'for' NAME 'in'
                    target=testlist_safe< any (',' any)+ [',']
                     >
                    [any]
                >
            >)
        (']' | ')') >
     transform N/A N/A self node results N/A N/A N/A target N/A results N/A target N/A lparen N/A LParen N/A N/A lparen prefix N/A target prefix N/A N/A target prefix N/A N/A N/A target insert_child 0 lparen N/A N/A N/A target append_child N/A RParen N/A N/A