ACC SHELL

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

Ñò
sÄMc@sudZddklZddklZlZhhdd6d6ZhZd„Zd„Z	d	ei
fd
„ƒYZdS(s?Fix incompatible renames

Fixes:
  * sys.maxint -> sys.maxsize
i(t
fixer_base(tNamet
attr_chaintmaxsizetmaxinttsyscCsdditt|ƒƒdS(Nt(t|t)(tjointmaptrepr(tmembers((s//usr/lib/python2.6/lib2to3/fixes/fix_renames.pyt
alternatessccsoxhtiƒD]Z\}}xK|iƒD]=\}}|t||f<d|||fVd||fVq&Wq
WdS(Ns£
                  import_from< 'from' module_name=%r 'import'
                      ( attr_name=%r | import_as_name< attr_name=%r 'as' any >) >
                  s^
                  power< module_name=%r trailer< '.' attr_name=%r > any* >
                  (tMAPPINGtitemstLOOKUP(tmoduletreplacetold_attrtnew_attr((s//usr/lib/python2.6/lib2to3/fixes/fix_renames.pyt
build_patterns


t
FixRenamescBs2eZdieƒƒZdZd„Zd„ZRS(RtprecsYtt|ƒi‰ˆ|ƒ}|o0t‡fd†t|dƒDƒƒotS|StS(Nc3sx|]}ˆ|ƒVqWdS(N((t.0tobj(tmatch(s//usr/lib/python2.6/lib2to3/fixes/fix_renames.pys	<genexpr>4s	tparent(tsuperRRtanyRtFalse(tselftnodetresults((Rs//usr/lib/python2.6/lib2to3/fixes/fix_renames.pyR0s&cCsl|idƒ}|idƒ}|oC|o<tt|i|ifƒ}|it|d|iƒƒndS(Ntmodule_namet	attr_nametprefix(tgettunicodeRtvalueRRR$(RR R!tmod_nameR#R((s//usr/lib/python2.6/lib2to3/fixes/fix_renames.pyt	transform=s
(t__name__t
__module__R	RtPATTERNtorderRR)(((s//usr/lib/python2.6/lib2to3/fixes/fix_renames.pyR*s	
N(t__doc__tRt
fixer_utilRRRRR
RtBaseFixR(((s//usr/lib/python2.6/lib2to3/fixes/fix_renames.pyt<module>s		

ACC SHELL 2018