403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyc

|_c@s_dZddlmZddlmZmZmZddlmZdejfdYZ	dS(s/Fixer that changes xrange(...) into range(...).i(t
fixer_base(tNametCalltconsuming_calls(tpatcompt	FixXrangecBsteZeZdZdZdZdZdZdZ	dZ
eje
Z
dZejeZdZRS(	s
              power<
                 (name='range'|name='xrange') trailer< '(' args=any ')' >
              rest=any* >
              cCs)tt|j||t|_dS(N(tsuperRt
start_treetsetttransformed_xranges(tselfttreetfilename((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyRscCs
d|_dS(N(tNoneR	(R
RR((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pytfinish_treescCs^|d}|jdkr)|j||S|jdkrH|j||Stt|dS(Ntnameuxrangeurange(tvaluettransform_xrangettransform_ranget
ValueErrortrepr(R
tnodetresultsR((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyt	transforms
cCs@|d}|jtdd|j|jjt|dS(NRurangetprefix(treplaceRRR	taddtid(R
RRR((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyR$s
cCst||jkr|j|rttd|djg}ttd|gd|j}x|dD]}|j|qsW|SdS(NurangetargsulistRtrest(RR	tin_special_contextRRtcloneRtappend_child(R
RRt
range_callt	list_calltn((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyR*s"s3power< func=NAME trailer< '(' node=any ')' > any* >sfor_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./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyR?s(t__name__t
__module__tTruet
BM_compatibletPATTERNRRRRRtP1Rtcompile_patternR'tP2R)R(((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyRs						N(
t__doc__tRt
fixer_utilRRRRtBaseFixR(((s./usr/lib/python2.7/lib2to3/fixes/fix_xrange.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit