Your IP : 18.117.91.116


Current Path : /opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/lib2to3/fixes/__pycache__/fix_apply.cpython-33.pyc

�
��fmc@sodZddlmZddlmZddlmZddlmZmZm	Z	Gdd�dej
�ZdS(	uIFixer for apply().

This converts apply(func, v, k) into (func)(*v, **k).i(upytree(utoken(u
fixer_base(uCalluCommauparenthesizecBs,|EeZdZdZdZdd�ZdS(uFixApplyu.
    power< 'apply'
        trailer<
            '('
            arglist<
                (not argument<NAME '=' any>) func=any ','
                (not argument<NAME '=' any>) args=any [','
                (not argument<NAME '=' any>) kwds=any] [',']
            >
            ')'
        >
    >
    c	CsV|j}|st�|d}|d}|jd�}|j}|j�}|jtj|jfkr�|j|j	ks�|j
d
jtjkr�t|�}nd|_|j�}d|_|dk	r�|j�}d|_ntjtjd�|g}|dk	rC|jt�tjtjd�|g�d|d_nt||d	|�S(Nufuncuargsukwdsiuu*u**u uprefixi����i����(usymsuAssertionErrorugetuprefixucloneutypeutokenuNAMEuatomupoweruchildrenu
DOUBLESTARuparenthesizeuNoneupytreeuLeafuSTARuextenduCommauCall(	uselfunodeuresultsusymsufuncuargsukwdsuprefixu	l_newargs((u</opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_apply.pyu	transforms0	

			
uFixApply.transformNT(u__name__u
__module__u__qualname__uTrueu
BM_compatibleuPATTERNu	transform(u
__locals__((u</opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_apply.pyuFixApplysuFixApplyN(u__doc__uupytreeupgen2utokenu
fixer_baseu
fixer_utiluCalluCommauparenthesizeuBaseFixuFixApply(((u</opt/alt/python33/lib64/python3.3/lib2to3/fixes/fix_apply.pyu<module>s


?>