Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/lib64/python2.7/lib2to3/fixes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyc
�
U��dc@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((s4/usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt	transforms(t__name__t
__module__tTruet
BM_compatibletPATTERNR
(((s4/usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyRsN(t__doc__tRt
fixer_utilRtBaseFixR(((s4/usr/lib64/python2.7/lib2to3/fixes/fix_xreadlines.pyt<module>s

ZeroDay Forums Mini