%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/lib2to3/fixes/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/lib2to3/fixes/fix_apply.pyc

ó
Pêáac@sodZddlmZddlmZddlmZddlmZmZm	Z	dej
fd„ƒYZdS(	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	CsÜ|j}|st‚|d}|d}|jdƒ}|r‰|j|jjkrWdS|j|jjkr‰|jdjdkr‰dSn|r¾|j|jjkr¾|jdjdkr¾dS|j}|j	ƒ}|jt
j|jfkr(|j|j
ks|jdjt
jkr(t|ƒ}nd|_|j	ƒ}d|_|dk	rj|j	ƒ}d|_ntjt
jdƒ|g}|dk	rÉ|jtƒtjt
jd	ƒ|gƒd
|d_nt||d|ƒS(Ntfunctargstkwdsis**iþÿÿÿtu*u**u tprefix(tsymstAssertionErrortgetttypet	star_exprtargumenttchildrentvalueRtcloneRtNAMEtatomtpowert
DOUBLESTARRtNoneRtLeaftSTARtextendRR(	tselftnodetresultsRRRR	Rt	l_newargs((s3/usr/local/lib/python2.7/lib2to3/fixes/fix_apply.pyt	transformsB	

			
(t__name__t
__module__tTruet
BM_compatibletPATTERNR!(((s3/usr/local/lib/python2.7/lib2to3/fixes/fix_apply.pyRsN(t__doc__R
Rtpgen2RRt
fixer_utilRRRtBaseFixR(((s3/usr/local/lib/python2.7/lib2to3/fixes/fix_apply.pyt<module>s


Zerion Mini Shell 1.0