ACC SHELL

Path : /usr/lib/python/lib2to3/fixes/
File Upload :
Current File : //usr/lib/python/lib2to3/fixes/fix_xrange.pyo

Ñò
sÄMc@s_dZddklZddklZlZlZddklZdeifd„ƒYZ	dS(s/Fixer that changes xrange(...) into range(...).i(t
fixer_base(tNametCalltconsuming_calls(tpatcompt	FixXrangecBs\eZdZd„Zd„Zd„ZdZeieƒZ	dZ
eie
ƒZd„ZRS(sˆ
              power<
                 (name='range'|name='xrange') trailer< '(' args=any ')' >
              rest=any* >
              cCsb|d}|idjo|i||ƒS|idjo|i||ƒStt|ƒƒ‚dS(Ntnameuxrangeurange(tvaluettransform_xrangettransform_ranget
ValueErrortrepr(tselftnodetresultsR((s./usr/lib/python2.6/lib2to3/fixes/fix_xrange.pyt	transforms
cCs*|d}|itdd|iƒƒdS(NRurangetprefix(treplaceRR(RR
RR((s./usr/lib/python2.6/lib2to3/fixes/fix_xrange.pyRs
cCs~|i|ƒpjttdƒ|diƒgƒ}ttdƒ|gd|iƒ}x|dD]}|i|ƒq^W|SdS(NurangetargsulistRtrest(tin_special_contextRRtcloneRtappend_child(RR
Rt
range_callt	list_calltn((s./usr/lib/python2.6/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”|idjotSh}|iidj	o?|ii|ii|ƒo#|d|jo|ditjS|ii|i|ƒo|d|jS(NR
tfunc(tparenttNonetFalsetp1tmatchRRtp2(RR
R((s./usr/lib/python2.6/lib2to3/fixes/fix_xrange.pyR5s(
t__name__t
__module__tPATTERNRRR	tP1Rtcompile_patternRtP2R R(((s./usr/lib/python2.6/lib2to3/fixes/fix_xrange.pyRs				N(
t__doc__tRt
fixer_utilRRRRtBaseFixR(((s./usr/lib/python2.6/lib2to3/fixes/fix_xrange.pyt<module>s

ACC SHELL 2018