HEX
Server: LiteSpeed
System: Linux ws4.angoweb.net 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64
User: tswangoe (2287)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
Upload Files
File: //opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyc
�
3Y~gc@sCdZddlmZddlmZdejfd��YZdS(spFix "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(tNamet
FixXreadlinescBseZeZdZd�ZRS(s�
    power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
    |
    power< any+ trailer< '.' no_call='xreadlines' > >
    cCsb|jd�}|r4|jtdd|j��n*|jg|dD]}|j�^qE�dS(Ntno_callu__iter__tprefixtcall(tgettreplaceRRtclone(tselftnodetresultsRtx((sA/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt	transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR
(((sA/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyRsN(t__doc__tRt
fixer_utilRtBaseFixR(((sA/opt/alt/python27/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt<module>s