B
    v9a                 @   s.   d dl mZ d dlmZ G dd dejZdS )   )
fixer_base)Namec               @   s   e Zd ZdZdZdd ZdS )FixXreadlinesTz
    power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
    |
    power< any+ trailer< '.' no_call='xreadlines' > >
    c             C   s@   | d}|r$|td|jd n|dd |d D  d S )Nno_call__iter__)prefixc             S   s   g | ]}|  qS  )Zclone).0xr   r   $/usr/lib/python3.7/fix_xreadlines.py
<listcomp>   s    z+FixXreadlines.transform.<locals>.<listcomp>Zcall)getreplacer   r   )selfZnoderesultsr   r   r   r   	transform   s    
zFixXreadlines.transformN)__name__
__module____qualname__ZBM_compatibleZPATTERNr   r   r   r   r   r      s   r   N) r   Z
fixer_utilr   ZBaseFixr   r   r   r   r   <module>   s   