HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/lib/python2.7/lib2to3/fixes/fix_apply.pyc
�
�I	ec@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((s-/usr/lib/python2.7/lib2to3/fixes/fix_apply.pyt	transformsB	

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