AlkantarClanX12

Your IP : 3.142.43.244


Current Path : /opt/alt/python39/lib64/python3.9/urllib/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/urllib/__pycache__/response.cpython-39.opt-2.pyc

a

R�f9	�@sVddlZgd�ZGdd�dej�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZdS)�N)�addbase�addclosehook�addinfo�
addinfourlcs4eZdZ�fdd�Zdd�Zdd�Zdd�Z�ZS)	rcs tt|�j|ddd�||_dS)Nz<urllib response>F)�delete)�superr�__init__�fp)�selfr	��	__class__��4/opt/alt/python39/lib64/python3.9/urllib/response.pyrszaddbase.__init__cCsd|jjt|�|jfS)Nz<%s at %r whose fp = %r>)r�__name__�id�file�r
r
r
r�__repr__s
�zaddbase.__repr__cCs|jjrtd��|S)NzI/O operation on closed file)r	�closed�
ValueErrorrr
r
r�	__enter__szaddbase.__enter__cCs|��dS�N)�close)r
�type�value�	tracebackr
r
r�__exit__!szaddbase.__exit__)r�
__module__�__qualname__rrrr�
__classcell__r
r
rrrsrcs(eZdZ�fdd�Z�fdd�Z�ZS)rcs tt|��|�||_||_dSr)rrr�	closehook�hookargs)r
r	r r!rr
rr(szaddclosehook.__init__c	sLz6|j}|j}|r&d|_d|_||�Wtt|���ntt|���0dSr)r r!rrr)r
r r!rr
rr-s
zaddclosehook.close)rrrrrrr
r
rrr%srcs$eZdZ�fdd�Zdd�Z�ZS)rcstt|��|�||_dSr)rrr�headers)r
r	r"rr
rr<szaddinfo.__init__cCs|jSr)r"rr
r
r�info@szaddinfo.info)rrrrr#rr
r
rrr9srcs:eZdZd
�fdd�	Zedd��Zdd�Zdd	�Z�ZS)rNcs"tt|��||�||_||_dSr)rrr�url�code)r
r	r"r$r%rr
rrGszaddinfourl.__init__cCs|jSr�r%rr
r
r�statusLszaddinfourl.statuscCs|jSrr&rr
r
r�getcodePszaddinfourl.getcodecCs|jSr)r$rr
r
r�geturlSszaddinfourl.geturl)N)	rrrr�propertyr'r(r)rr
r
rrrDs

r)Ztempfile�__all__Z_TemporaryFileWrapperrrrrr
r
r
r�<module>	s