Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /lib64/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/lib2to3/fixes/fix_apply.pyc
�
U��dc@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	CsV|j}|st�|d}|d}|jd�}|j}|j�}|jtj|jfkr�|j|j	ks�|j
djtjkr�t|�}nd|_|j�}d|_|dk	r�|j�}d|_ntjtjd�|g}|dk	rC|jt�tjtjd�|g�d|d_nt||d	|�S(
Ntfunctargstkwdsi����tu*u**u tprefix(tsymstAssertionErrortgetRtclonettypeRtNAMEtatomtpowertchildrent
DOUBLESTARRtNoneRtLeaftSTARtextendRR(	tselftnodetresultsRRRR	Rt	l_newargs((s//usr/lib64/python2.7/lib2to3/fixes/fix_apply.pyt	transforms0	

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


ZeroDay Forums Mini