HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //proc/self/root/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyc
�
3Y~gc@s_dZddlmZddlmZmZmZddlmZdejfd��YZ	dS(s/Fixer that changes xrange(...) into range(...).i(t
fixer_base(tNametCalltconsuming_calls(tpatcompt	FixXrangecBsteZeZdZd�Zd�Zd�Zd�Zd�Z	dZ
eje
�Z
dZeje�Zd�ZRS(	s�
              power<
                 (name='range'|name='xrange') trailer< '(' args=any ')' >
              rest=any* >
              cCs)tt|�j||�t�|_dS(N(tsuperRt
start_treetsetttransformed_xranges(tselfttreetfilename((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyRscCs
d|_dS(N(tNoneR	(R
RR((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pytfinish_treescCs^|d}|jdkr)|j||�S|jdkrH|j||�Stt|���dS(Ntnameuxrangeurange(tvaluettransform_xrangettransform_ranget
ValueErrortrepr(R
tnodetresultsR((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyt	transforms
cCs@|d}|jtdd|j��|jjt|��dS(NRurangetprefix(treplaceRRR	taddtid(R
RRR((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyR$s
cCs�t|�|jkr�|j|�r�ttd�|dj�g�}ttd�|gd|j�}x|dD]}|j|�qsW|SdS(NurangetargsulistRtrest(RR	tin_special_contextRRtcloneRtappend_child(R
RRt
range_callt	list_calltn((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyR*s"s3power< func=NAME trailer< '(' node=any ')' > any* >s�for_stmt< 'for' any 'in' node=any ':' any* >
            | comp_for< 'for' any 'in' node=any any* >
            | comparison< any 'in' node=any any*>
         cCs�|jdkrtSi}|jjdk	rg|jj|jj|�rg|d|krg|djtkS|jj|j|�o�|d|kS(NRtfunc(tparentR
tFalsetp1tmatchRRtp2(R
RR((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyR?s(t__name__t
__module__tTruet
BM_compatibletPATTERNRRRRRtP1Rtcompile_patternR'tP2R)R(((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyRs						N(
t__doc__tRt
fixer_utilRRRRtBaseFixR(((s=/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xrange.pyt<module>s