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
29
Y\¬Qc@sodZddlmZddlmZddlmZddlmZmZm    Z    dej
fd„ƒYZ dS(    sIFixer for apply().
 
This converts apply(func, v, k) into (func)(*v, **k).i(tpytree(ttoken(t
fixer_base(tCalltCommat parenthesizetFixApplycBseZeZdZd„ZRS(s.
    power< 'apply'
        trailer<
            '('
            arglist<
                (not argument<NAME '=' any>) func=any ','
                (not argument<NAME '=' any>) args=any [','
                (not argument<NAME '=' any>) kwds=any] [',']
            >
            ')'
        >
    >
    c    CsJ|j}|d}|d}|jdƒ}|j}|jƒ}|jtj|jfkr–|j|jks‡|j    djtj
kr–t |ƒ}nd|_|jƒ}d|_|dk    rØ|jƒ}d|_nt jtjdƒ|g}|dk    r7|jtƒt jtj
dƒ|gƒd|d_nt||d    |ƒS(
Ntfunctargstkwdsiþÿÿÿtu*u**u tprefix(tsymstgetR tclonettypeRtNAMEtatomtpowertchildrent
DOUBLESTARRtNoneRtLeaftSTARtextendRR(    tselftnodetresultsR RRR    R t    l_newargs((s_/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_apply.pyt    transforms.    
 
                   
(t__name__t
__module__tTruet BM_compatibletPATTERNR(((s_/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_apply.pyRsN( t__doc__R
Rtpgen2RRt
fixer_utilRRRtBaseFixR(((s_/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/lib2to3/fixes/fix_apply.pyt<module>s