%PDF- %PDF-
Direktori : /usr/lib64/python2.7/lib2to3/fixes/ |
Current File : //usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyc |
� {fc @ sC d Z d d l m Z d d l m Z d e j f d � � YZ d S( sp Fix "for x in f.xreadlines()" -> "for x in f". This fixer will also convert g(f.xreadlines) into g(f.__iter__).i ( t fixer_base( t Namet FixXreadlinesc B s e Z e Z d Z d � Z RS( s� power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > > | power< any+ trailer< '.' no_call='xreadlines' > > c C sb | j d � } | r4 | j t d d | j �� n* | j g | d D] } | j � ^ qE � d S( Nt no_callu __iter__t prefixt call( t gett replaceR R t clone( t selft nodet resultsR t x( ( s4 /usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt transform s ( t __name__t __module__t Truet BM_compatiblet PATTERNR ( ( ( s4 /usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyR s N( t __doc__t R t fixer_utilR t BaseFixR ( ( ( s4 /usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt <module> s