|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/python27/lib64/python2.7/lib2to3/fixes/ |
�
�V~gc @ 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( ( sA /opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt transform s ( t __name__t
__module__t Truet
BM_compatiblet PATTERNR
( ( ( sA /opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyR s N( t __doc__t R t
fixer_utilR t BaseFixR ( ( ( sA /opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt <module> s