tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Y\¬Qc@sIdZddlmZddlmZmZdejfd„ƒYZdS(suFixer that addes parentheses where they are required
 
This converts ``[x for x in 1, 2]`` to ``[x for x in (1, 2)]``.i(t
fixer_base(tLParentRParentFixParencBseZeZdZd„ZRS(s
        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]
                >
            >)
        (']' | ')') >
    cCsL|d}tƒ}|j|_d|_|jd|ƒ|jtƒƒdS(Nttargetui(Rtprefixt insert_childt append_childR(tselftnodetresultsRtlparen((s_/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_paren.pyt    transform%s 
         (t__name__t
__module__tTruet BM_compatibletPATTERNR (((s_/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_paren.pyR sN(t__doc__tRt
fixer_utilRRtBaseFixR(((s_/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_paren.pyt<module>s