AlkantarClanX12

Your IP : 18.119.133.206


Current Path : /opt/alt/python312/lib64/python3.12/urllib/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/urllib/__pycache__/response.cpython-312.opt-2.pyc

�

�Q�f9	���	ddlZgd�ZGd�dej�ZGd�de�ZGd�de�ZGd	�d
e�Zy)�N)�addbase�addclosehook�addinfo�
addinfourlc�2��eZdZ	�fd�Zd�Zd�Zd�Z�xZS)rc�@��tt|�|dd��||_y)Nz<urllib response>F)�delete)�superr�__init__�fp)�selfr�	__class__s  ��6/opt/alt/python312/lib64/python3.12/urllib/response.pyrzaddbase.__init__s!���
�g��&�r�+>�u�&�M����c�h�d|jj�dt|��d|j�d�S)N�<z at z whose fp = �>)r�__name__�id�file�r
s r�__repr__zaddbase.__repr__s(��-1�^�^�-D�-D�-/��X�t�y�y�B�	Brc�H�|jjrtd��|S)NzI/O operation on closed file)r�closed�
ValueErrorrs r�	__enter__zaddbase.__enter__s���7�7�>�>��;�<�<��rc�$�|j�y�N)�close)r
�type�value�	tracebacks    r�__exit__zaddbase.__exit__!s���
�
�r)r�
__module__�__qualname__rrrr#�
__classcell__�rs@rrrs���Y��
B��
rrc�*��eZdZ	�fd�Z�fd�Z�xZS)rc�H��tt|�|�||_||_yr)r
rr�	closehook�hookargs)r
rr*r+rs    �rrzaddclosehook.__init__(s ���
�l�D�*�2�.�"��� ��
rc���	|j}|j}|rd|_d|_||�tt|��y#tt|��wxYwr)r*r+r
rr)r
r*r+rs   �rrzaddclosehook.close-sN���	.����I��}�}�H��!%��� $��
��8�$��,��+�-��E�,��+�-�s�-A�A)rr$r%rrr&r's@rrr%s���4�!�
	.�	.rrc�&��eZdZ	�fd�Zd�Z�xZS)rc�:��tt|�|�||_yr)r
rr�headers)r
rr/rs   �rrzaddinfo.__init__<s���
�g�t�%�b�)���rc��|jSr)r/rs r�infozaddinfo.info@s���|�|�r)rr$r%rr1r&r's@rrr9s���8��rrc�>��eZdZ	d�fd�	Zed��Zd�Zd�Z�xZS)rc�J��tt|�||�||_||_yr)r
rr�url�code)r
rr/r4r5rs     �rrzaddinfourl.__init__Gs"���
�j�$�(��W�5������	rc��|jSr�r5rs r�statuszaddinfourl.statusLs���y�y�rc��|jSrr7rs r�getcodezaddinfourl.getcodePs���y�y�rc��|jSr)r4rs r�geturlzaddinfourl.geturlSs���x�x�rr)	rr$r%r�propertyr8r:r<r&r's@rrrDs)���C��
�����rr)�tempfile�__all__�_TemporaryFileWrapperrrrr�rr�<module>rBsJ����
>���h�,�,��..�7�.�(�g����r