AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_xreadlines.cpython-310.opt-2.pyc |
o 6��f� � @ s0 d dl mZ d dlmZ G dd� dej�ZdS )� )� fixer_base)�Namec @ s e Zd ZdZdZdd� ZdS )� FixXreadlinesTz� power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > > | power< any+ trailer< '.' no_call='xreadlines' > > c C sB |� d�}|r|�td|jd�� d S |�dd� |d D �� d S )N�no_call�__iter__)�prefixc S s g | ]}|� � �qS � )Zclone)�.0�xr r �C/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_xreadlines.py� <listcomp> s z+FixXreadlines.transform.<locals>.<listcomp>Zcall)�get�replacer r )�selfZnodeZresultsr r r r � transform s zFixXreadlines.transformN)�__name__� __module__�__qualname__Z BM_compatibleZPATTERNr r r r r r s r N)� r Z fixer_utilr ZBaseFixr r r r r �<module> s