Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.145.34.138
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : fix_xreadlines.cpython-312.pyc
�


f���J�dZddlmZddlmZGd�dej
�Zy)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�Zy)�
FixXreadlinesTz�
    power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
    |
    power< any+ trailer< '.' no_call='xreadlines' > >
    c���|jd�}|r'|jtd|j���y|j|dD�cgc]}|j	���c}�ycc}w)N�no_call�__iter__)�prefix�call)�get�replacerr
�clone)�self�node�resultsr�xs     �E/usr/local/python-3.12/lib/python3.12/lib2to3/fixes/fix_xreadlines.py�	transformzFixXreadlines.transformsN���+�+�i�(����O�O�D��G�N�N�C�D��L�L�W�V�_�=��!�'�'�)�=�>��=s�
A,N)�__name__�
__module__�__qualname__�
BM_compatible�PATTERNr��rrrs���M��G�?rrN)�__doc__�r�
fixer_utilr�BaseFixrrrr�<module>r s%��D���?�J�&�&�?r
© 2025 GrazzMean