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 :  /opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_xreadlines.cpython-311.pyc
�

�,d���H�dZddlmZddlmZGd�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��eZdZdZdZd�ZdS)�
FixXreadlinesTz�
    power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
    |
    power< any+ trailer< '.' no_call='xreadlines' > >
    c���|�d��}|r+|�td|j�����dS|�d�|dD����dS)N�no_call�__iter__)�prefixc�6�g|]}|�����S�)�clone)�.0�xs  �C/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_xreadlines.py�
<listcomp>z+FixXreadlines.transform.<locals>.<listcomp>s ��=�=�=��!�'�'�)�)�=�=�=��call)�get�replacerr
)�self�node�resultsrs    r�	transformzFixXreadlines.transformsm���+�+�i�(�(���	?��O�O�D��G�N�C�C�C�D�D�D�D�D��L�L�=�=�W�V�_�=�=�=�>�>�>�>�>rN)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNrrrrrrs/�������M��G�?�?�?�?�?rrN)�__doc__�r�
fixer_utilr�BaseFixrrrr�<module>r#sn��D�D�������������?�?�?�?�?�J�&�?�?�?�?�?r

ZeroDay Forums Mini