|
Server : Apache System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64 User : matalashes ( 1004) PHP Version : 8.1.29 Disable Function : NONE Directory : /proc/17567/root/usr/lib64/python2.7/lib2to3/fixes/ |
Upload File : |
�
ۜSec @ 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