\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /lib/python3.10/lib2to3/fixes/__pycache__/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //lib/python3.10/lib2to3/fixes/__pycache__/fix_xreadlines.cpython-310.pyc |
o
��bc� � @ s2 d Z ddlmZ ddlmZ G dd� dej�ZdS )zpFix "for x in f.xreadlines()" -> "for x in f".
This fixer will also convert g(f.xreadlines) into g(f.__iter__).� )�
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 � )�clone)�.0�xr r �3/usr/lib/python3.10/lib2to3/fixes/fix_xreadlines.py�
<listcomp> s z+FixXreadlines.transform.<locals>.<listcomp>�call)�get�replacer r )�self�node�resultsr r r r � transform s
zFixXreadlines.transformN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr r r r r r s r N)�__doc__� r �
fixer_utilr �BaseFixr r r r r �<module> s